添加部分退款接口
This commit is contained in:
@@ -268,7 +268,7 @@ public class LkLPayServiceImpl implements PayService {
|
|||||||
|
|
||||||
|
|
||||||
String req_time = DateUtils.getSdfTimes();
|
String req_time = DateUtils.getSdfTimes();
|
||||||
Long order_amt = changeY2F(order.getRefundAmt().doubleValue());
|
Long order_amt = changeY2F(order.getPayReturnAmount().doubleValue());
|
||||||
|
|
||||||
|
|
||||||
String refundNo = "LKLR" + StringUtil.getBillno();
|
String refundNo = "LKLR" + StringUtil.getBillno();
|
||||||
@@ -297,6 +297,7 @@ public class LkLPayServiceImpl implements PayService {
|
|||||||
result.put("status", "3");
|
result.put("status", "3");
|
||||||
result.put("code", ResultCode.FAIL.code());
|
result.put("code", ResultCode.FAIL.code());
|
||||||
|
|
||||||
|
|
||||||
String response = lklPayService.req(body, "api/v3/labs/relation/refund");
|
String response = lklPayService.req(body, "api/v3/labs/relation/refund");
|
||||||
if(ObjectUtil.isNotEmpty(response)){
|
if(ObjectUtil.isNotEmpty(response)){
|
||||||
JSONObject object=JSONObject.parseObject(response);
|
JSONObject object=JSONObject.parseObject(response);
|
||||||
|
|||||||
Reference in New Issue
Block a user