|
|
@@ -138,7 +138,7 @@ public class AuthenticationController {
|
|
|
} catch (UnsupportedEncodingException e) {
|
|
|
throw new IllegalArgumentException("URL编码错误!");
|
|
|
}
|
|
|
- if (user.getUserUU().equals(user.getEnterprise().getEnAdminuu())) {
|
|
|
+ if (user.getUserUU().equals(user.getEnterprise().getEnAdminuu()) || user.isSys()) {
|
|
|
ModelMap map = new ModelMap();
|
|
|
map.put("status","sucess");
|
|
|
map.put("msg","该用户为管理员");
|