Browse Source

处理优惠券使用记录没有订单编号的问题

zouxuan 10 months ago
parent
commit
e2049e36cd

+ 2 - 2
mec-biz/src/main/java/com/ym/mec/biz/service/impl/OrderPayOpsServiceImpl.java

@@ -103,7 +103,7 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
 
             //签名验证
             checkSing(payParam);
-            String baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
+            /*String baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
             if(studentPaymentOrder.getType() == MALL_BUY){
                 String paymentChannelStr = sysConfigDao.findConfigValue(SysConfigService.PAYMENT_CHANNEL);
                 if(StringUtils.isBlank(paymentChannelStr)) {
@@ -121,7 +121,7 @@ public class OrderPayOpsServiceImpl implements OrderPayOpsService {
                 payParam.setNotifyUrl(notifyUrl);
             }else {
                 payParam.setNotifyUrl(baseApiUrl + "/api-student/studentOrder/callback/" + payParam.getOrderNo());
-            }
+            }*/
 
             //如果以上操作都没有 则应该是这一个,因为老代码就是这样写的。
             payment = student(payParam);