余额支付密码开关校验

This commit is contained in:
张松
2025-09-29 20:34:14 +08:00
parent 43ef068ab1
commit 49b704409c
3 changed files with 3 additions and 3 deletions

View File

@@ -225,7 +225,7 @@ public class PayServiceImpl implements PayService {
AssertUtil.isNull(shopUser, "会员不存在");
UserInfo userInfo = userInfoService.getById(shopUser.getUserId());
AssertUtil.isNull(userInfo, "用户信息不存在");
if (userInfo.getUsePayTwd() == 1 ) {
if (userInfo.getUsePayPwd() == 1 ) {
if (userInfo.getPayPwd() == null || !userInfo.getPayPwd().equals(MD5Util.md5AsHex(payParam.getPwd()))) {
return CzgResult.failure("支付密码错误");
}