Browse Source

新加管理员设置

wangdy 8 years ago
parent
commit
3c38378a89

+ 3 - 0
src/main/java/com/uas/platform/b2c/core/filter/SSOInterceptor.java

@@ -270,6 +270,9 @@ public class SSOInterceptor extends AbstractSSOInterceptor {
                 }
             }
         }
+        if (user.getEnterprise().getEnAdminuu().equals(user.getUserUU())) {
+            user.setIssys(Constant.YES);
+        }
         if (authorities == null) {
             authorities = new HashMap<Long, Collection<GrantedAuthority>>();
         }