在线支付订单

This commit is contained in:
曹磊 2024-07-19 10:38:55 +08:00
parent 8ef6ff3c39
commit ec11f3abf2
2 changed files with 41 additions and 50 deletions

View File

@ -1400,10 +1400,6 @@ public class AliPayController {
}
}
String isTravelFree = commonInfoService.findOne(460).getValue();
if(isTravelFree.equals("")){
payPackageOrderResult(orders.getOrdersNo());
}else {
//通知页面地址
CommonInfo one = commonInfoService.findOne(19);
String returnUrl = one.getValue() + "/#/pages/task/recharge";
@ -1442,7 +1438,6 @@ public class AliPayController {
// }
// }
payOrderResult(orders.getOrdersNo());
}
return Result.success();
}

View File

@ -644,10 +644,6 @@ public class WxServiceImpl implements WxService {
}
}
String isTravelFree = commonInfoService.findOne(460).getValue();
if(isTravelFree.equals("")){
payPackageOrderResult(orders.getOrdersNo(),classify);
}else {
PayDetails payDetails1 = payDetailsDao.selectByOrderId(orders.getOrdersNo());
if (payDetails1 == null) {
PayDetails payDetails = new PayDetails();
@ -673,7 +669,7 @@ public class WxServiceImpl implements WxService {
// return pay(orders.getPayMoney().doubleValue(), classify, orders.getUserId(), orders.getOrdersNo(),request);
// }
payOrderResult(orders.getOrdersNo());
}
return Result.success();
}