提交代码

dev-discount
胡锐 2 years ago
parent feaff0ec9d
commit 6a97678c49
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java

@ -334,7 +334,7 @@ public class HighOrderServiceImpl implements HighOrderService {
throw ErrorHelp.genException(SysCode.System, ErrorCode.NOT_SET_USER_PAY_PWD, ""); throw ErrorHelp.genException(SysCode.System, ErrorCode.NOT_SET_USER_PAY_PWD, "");
} }
// 校验支付密码是否正确 // 校验支付密码是否正确
if (userPayPwd.getPassword().equals(AESEncodeUtil.aesEncrypt(highOrder.getPayPwd()))) { if (!userPayPwd.getPassword().equals(AESEncodeUtil.aesEncrypt(highOrder.getPayPwd()))) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.USER_PAY_PWD_ERROR, ""); throw ErrorHelp.genException(SysCode.System, ErrorCode.USER_PAY_PWD_ERROR, "");
} }
// 扣除用户积分 // 扣除用户积分

Loading…
Cancel
Save