支付密码加密规则修改
This commit is contained in:
@@ -87,7 +87,7 @@ public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo>
|
|||||||
throw new ApiNotPrintException("验证码错误");
|
throw new ApiNotPrintException("验证码错误");
|
||||||
}
|
}
|
||||||
|
|
||||||
userInfo.setPayPwd(SecureUtil.md5(userInfo.getId() + userInfoPwdEditDTO.getPayPwd()));
|
userInfo.setPayPwd(SecureUtil.md5(userInfoPwdEditDTO.getPayPwd()));
|
||||||
boolean b = updateById(userInfo);
|
boolean b = updateById(userInfo);
|
||||||
if (b) {
|
if (b) {
|
||||||
redisService.del(key);
|
redisService.del(key);
|
||||||
|
|||||||
Reference in New Issue
Block a user