添加部分退款接口

This commit is contained in:
韩鹏辉
2023-08-17 11:25:06 +08:00
parent 80f4530364
commit 7866c99883

View File

@@ -268,7 +268,7 @@ public class LkLPayServiceImpl implements PayService {
String req_time = DateUtils.getSdfTimes();
Long order_amt = changeY2F(order.getRefundAmt().doubleValue());
Long order_amt = changeY2F(order.getPayReturnAmount().doubleValue());
String refundNo = "LKLR" + StringUtil.getBillno();
@@ -297,6 +297,7 @@ public class LkLPayServiceImpl implements PayService {
result.put("status", "3");
result.put("code", ResultCode.FAIL.code());
String response = lklPayService.req(body, "api/v3/labs/relation/refund");
if(ObjectUtil.isNotEmpty(response)){
JSONObject object=JSONObject.parseObject(response);