update 临时 登录不需要公钥
This commit is contained in:
+3
-3
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user