update 临时 登录不需要公钥

This commit is contained in:
lijiarao
2023-09-04 09:58:02 +08:00
parent a1b41f32e7
commit 9843182a52
@@ -79,9 +79,9 @@ public class LoginServiceImpl implements ILoginService {
String rsaPublicKey = sysLoginModel.getRsaPublicKey();
String rsaPrivateKey = redisUtil.get(rsaPublicKey) != null ? String.valueOf(redisUtil.get(rsaPublicKey)) : null;
if(StrUtil.isEmpty(rsaPrivateKey)){
return Result.error(CommonConstant.SC_RSA_TIMEOUT_600, "页面过期,将刷新页面");
}
//if(StrUtil.isEmpty(rsaPrivateKey)){
// return Result.error(CommonConstant.SC_RSA_TIMEOUT_600, "页面过期,将刷新页面");
//}
//String captcha = sysLoginModel.getCaptcha();
//if(captcha==null){