This commit is contained in:
wangjinlei
2024-06-24 14:24:47 +08:00
parent 923c83290f
commit 7e6274b9da
3 changed files with 18 additions and 4 deletions

View File

@@ -315,12 +315,12 @@ public class BuyOrderController {
paymentInfo.setOrderSn(orderSn);
paymentInfo.setBuyOrderId(buyOrder.getOrderId());
paymentInfo.setTotalAmount(totalPrice);
if (buyOrder.getCome()==2){
if(buyOrder.getCome()==null||buyOrder.getCome()==0){
paymentInfo.setAppName(buyOrder.getAppName());
} else if (buyOrder.getCome()==2){
paymentInfo.setAppName("wumen");
} else if (buyOrder.getCome()==1) {
paymentInfo.setAppName("zmzm");
}else {
paymentInfo.setAppName(buyOrder.getAppName());
}
wxpayService.prepay(paymentInfo);
}