|
@@ -105,13 +105,13 @@ public class AuthController {
|
|
if (ObjectUtil.isNull(sysUserVo)) {
|
|
if (ObjectUtil.isNull(sysUserVo)) {
|
|
throw new UserException("user.not.exists", username);
|
|
throw new UserException("user.not.exists", username);
|
|
}
|
|
}
|
|
- //校验用户类型
|
|
|
|
|
|
+/* //校验用户类型
|
|
String userType = sysUserVo.getUserType();
|
|
String userType = sysUserVo.getUserType();
|
|
if (!userType.contains("sys_user") ){
|
|
if (!userType.contains("sys_user") ){
|
|
if (!userType.contains(clientKey)){
|
|
if (!userType.contains(clientKey)){
|
|
throw new UserException("user.not.login");
|
|
throw new UserException("user.not.login");
|
|
}
|
|
}
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
String tenantId = sysUserVo.getTenantId();
|
|
String tenantId = sysUserVo.getTenantId();
|
|
//登录默认给一个租户id 000000
|
|
//登录默认给一个租户id 000000
|
|
loginBody.setTenantId("000000");
|
|
loginBody.setTenantId("000000");
|