update:
1.fix
This commit is contained in:
@@ -240,7 +240,7 @@ public class CommonUserOrderServiceImpl extends ServiceImpl<CommonUserOrderMappe
|
||||
throw new ServiceException("商品ID格式非法");
|
||||
}
|
||||
|
||||
if (request.getPaymentType() != 1 && request.getPaymentType() != 2) {
|
||||
if (request.getPaymentType() != PaymentType.ALI.getCode() && request.getPaymentType() != PaymentType.WECHAT.getCode() && request.getPaymentType() != PaymentType.USER_POINT.getCode()) {
|
||||
throw new ServiceException("请选择正确的支付方式");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user