Merge remote-tracking branch 'origin/master'

This commit is contained in:
Tankaikai 2025-03-12 09:53:47 +08:00
commit 8820338941
2 changed files with 3 additions and 1 deletions

View File

@ -157,6 +157,8 @@ public class AuthorizationServiceImpl implements AuthorizationService {
HandoverRecord entity = getHandoverRecord(isStaff, shopInfo, shopStaff);
handoverRecordService.initHandoverRecord(entity);
}
redisService.del(RedisCst.LOGIN_CODE + loginDTO.uuid());
return new LoginVO(StpKit.USER.getTokenInfo(), promissionList, loginDTO.loginType(), shopInfo);
}

View File

@ -87,7 +87,7 @@ public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo>
throw new ApiNotPrintException("验证码错误");
}
userInfo.setPayPwd(SecureUtil.md5(userInfo.getId() + userInfoPwdEditDTO.getPayPwd()));
userInfo.setPayPwd(SecureUtil.md5(userInfoPwdEditDTO.getPayPwd()));
boolean b = updateById(userInfo);
if (b) {
redisService.del(key);