|
@@ -1,7 +1,6 @@
|
|
|
package com.ym.mec.biz.service.impl;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.ym.mec.auth.api.client.SysUserFeignService;
|
|
|
import com.ym.mec.auth.api.entity.SysUser;
|
|
@@ -1271,7 +1270,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
|
@Transactional
|
|
|
- public OrderCancelModel cancelOrder(StudentPaymentOrder order) {
|
|
|
+ public OrderCancelModel cancelOrder(StudentPaymentOrder order, String reason) {
|
|
|
OrderCancelModel model = new OrderCancelModel();
|
|
|
try {
|
|
|
HfMerchantConfig hfMerchantConfig = hfMerchantConfigService.queryByTenantId(order.getTenantId());
|
|
@@ -1289,7 +1288,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
} else if (status.equals("failed") ) {
|
|
|
model.setStatus(false);
|
|
|
order.setStatus(CLOSE);
|
|
|
- order.setMemo("超时未支付关闭");
|
|
|
+ order.setMemo(reason);
|
|
|
}
|
|
|
TenantContextHolder.setTenantId(order.getTenantId());
|
|
|
callOrderCallBack(order);
|