Browse Source

权限修改

Hu Jie 7 years ago
parent
commit
a82a791cf7

+ 1 - 1
src/main/java/com/uas/platform/b2c/common/account/controller/AuthenticationController.java

@@ -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","该用户为管理员");