修改汇付退款处理
This commit is contained in:
@@ -27,3 +27,6 @@ server:
|
||||
port: 7004
|
||||
|
||||
environment: test
|
||||
openness:
|
||||
angenturl: https://p40312246f.goho.co/proxy/agent/registeragent
|
||||
customerurl:
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user