余额支付密码开关校验支付密码可为空
This commit is contained in:
@@ -88,8 +88,10 @@ public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> i
|
||||
throw new ApiNotPrintException("验证码错误");
|
||||
}
|
||||
|
||||
if (StrUtil.isNotBlank(userInfoPwdEditDTO.getCheckPayPwd())) {
|
||||
userInfo.setPayPwd(SecureUtil.md5(userInfoPwdEditDTO.getPayPwd()));
|
||||
}
|
||||
userInfo.setUsePayPwd(userInfoPwdEditDTO.getUsePayPwd());
|
||||
userInfo.setPayPwd(SecureUtil.md5(userInfoPwdEditDTO.getPayPwd()));
|
||||
boolean b = updateById(userInfo);
|
||||
if (b) {
|
||||
redisService.del(key);
|
||||
|
||||
Reference in New Issue
Block a user