|
@@ -77,8 +77,6 @@ public class SysUserController {
|
|
}
|
|
}
|
|
System.out.println(success);
|
|
System.out.println(success);
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
private static String generateRandomCode() {
|
|
private static String generateRandomCode() {
|
|
Random random = new Random();
|
|
Random random = new Random();
|
|
@@ -142,7 +140,7 @@ public class SysUserController {
|
|
accessToken.setLoginIp(remoteHost);
|
|
accessToken.setLoginIp(remoteHost);
|
|
}
|
|
}
|
|
if (result.getCode() == 10001) {
|
|
if (result.getCode() == 10001) {
|
|
- return iSysUserService.loginMultilevel(req, map,remoteHost);
|
|
|
|
|
|
+ return result;
|
|
}
|
|
}
|
|
return new Result(ResultCode.SUCCESS, accessToken);
|
|
return new Result(ResultCode.SUCCESS, accessToken);
|
|
}
|
|
}
|