修改汇付退款处理

This commit is contained in:
韩鹏辉
2024-02-19 14:52:42 +08:00
parent 93ad59c289
commit e505f03ab6
2 changed files with 8 additions and 2 deletions

View File

@@ -27,3 +27,6 @@ server:
port: 7004
environment: test
openness:
angenturl: https://p40312246f.goho.co/proxy/agent/registeragent
customerurl:

View File

@@ -44,8 +44,12 @@ public class HfPayServiceImpl implements PayService {
@Autowired
MerchantHfInfoMapper merchantHfInfoMapper;
@Value("${hf.pay.callBack}")
private String callBack;
@Setter(onMethod_ = {@Autowired, @Lazy})
private MerchantOrderService merchantOrderService;
@@ -344,8 +348,7 @@ public class HfPayServiceImpl implements PayService {
result.put("code", ResultCode.SUCCESS.code());
return result;
} else if ("failed".equals(adapay.get("status"))) {
result.put("msg", adapay.get("msg"));
result.put("msg", adapay.get("error_msg"));
return result;
}
} catch (Exception e) {