diff --git a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java index 1662b7b..9ce9312 100644 --- a/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java +++ b/src/main/java/com/chaozhanggui/system/cashierservice/service/PayService.java @@ -499,6 +499,7 @@ public class PayService { String userId = String.valueOf(TokenUtil.getUserId()); TbOrderPayment payment = createOrderPayment(orderInfo, payDTO.getPayType()); + orderInfo.setPayType(payDTO.getPayType()); if ("ysk".equals(thirdPayType)) { return Result.successWithData(yskPay(thirdApply, orderInfo, payment, openId, userId, ip)); } else {