修改汇付退款处理
This commit is contained in:
@@ -27,3 +27,6 @@ server:
|
|||||||
port: 7004
|
port: 7004
|
||||||
|
|
||||||
environment: test
|
environment: test
|
||||||
|
openness:
|
||||||
|
angenturl: https://p40312246f.goho.co/proxy/agent/registeragent
|
||||||
|
customerurl:
|
||||||
|
|||||||
@@ -44,8 +44,12 @@ public class HfPayServiceImpl implements PayService {
|
|||||||
@Autowired
|
@Autowired
|
||||||
MerchantHfInfoMapper merchantHfInfoMapper;
|
MerchantHfInfoMapper merchantHfInfoMapper;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Value("${hf.pay.callBack}")
|
@Value("${hf.pay.callBack}")
|
||||||
private String callBack;
|
private String callBack;
|
||||||
|
|
||||||
|
|
||||||
@Setter(onMethod_ = {@Autowired, @Lazy})
|
@Setter(onMethod_ = {@Autowired, @Lazy})
|
||||||
private MerchantOrderService merchantOrderService;
|
private MerchantOrderService merchantOrderService;
|
||||||
|
|
||||||
@@ -344,8 +348,7 @@ public class HfPayServiceImpl implements PayService {
|
|||||||
result.put("code", ResultCode.SUCCESS.code());
|
result.put("code", ResultCode.SUCCESS.code());
|
||||||
return result;
|
return result;
|
||||||
} else if ("failed".equals(adapay.get("status"))) {
|
} else if ("failed".equals(adapay.get("status"))) {
|
||||||
|
result.put("msg", adapay.get("error_msg"));
|
||||||
result.put("msg", adapay.get("msg"));
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user