Browse Source

用户注册修改

huahaiyan 6 years ago
parent
commit
536fb710df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/dashoo.cn/backend/api/controllers/casbin/organize.go

+ 1 - 1
src/dashoo.cn/backend/api/controllers/casbin/organize.go

@@ -432,7 +432,7 @@ func (this *OrganizesController) GetOrgList() {
 	var user userRole.Base_User
 	var user userRole.Base_User
 	svc.GetEntityById(this.User.Id, &user)
 	svc.GetEntityById(this.User.Id, &user)
 	ids := svc.GetAllChildById("0")
 	ids := svc.GetAllChildById("0")
-	where := " Id in ( " + ids + " ) and AccCode='s5OVE'"
+	where := " Id in ( " + ids + " )"
 
 
 	list := make([]organize.Base_Organize, 0)
 	list := make([]organize.Base_Organize, 0)
 	svc.GetEntities(&list, where)
 	svc.GetEntities(&list, where)