|
@@ -344,9 +344,10 @@ func (this *VerifyTokenController) GetAdminUserAllInfo(mobile string) (map[strin
|
344
|
344
|
appJSONs[strconv.Itoa(app.Id)] = appJSONStr
|
345
|
345
|
appIds = append(appIds, strconv.Itoa(app.Id))
|
346
|
346
|
app_to_org_ids[strconv.Itoa(app.Id)] = strconv.Itoa(org.Id)
|
347
|
|
-
|
|
347
|
+ fmt.Println(app.AppType)
|
348
|
348
|
if adminUser.IsSuperAdmin {
|
349
|
349
|
urlfors, purviews, getPurviewErr := service.GetSuperAdminUsersPurviewTreeAndUrlfors(app.AppType)
|
|
350
|
+
|
350
|
351
|
if getPurviewErr != nil {
|
351
|
352
|
utils.ErrorLog("数据错误:查找超级管理员的类型为%v的应用的权限时错误:%v", app.AppType, getPurviewErr)
|
352
|
353
|
return nil, &enums.SGJError{Code: enums.ErrorCodeDataException}
|
|
@@ -368,7 +369,6 @@ func (this *VerifyTokenController) GetAdminUserAllInfo(mobile string) (map[strin
|
368
|
369
|
app_purview_urls[strconv.Itoa(app.Id)] = string(urlforJSON_b)
|
369
|
370
|
}
|
370
|
371
|
}
|
371
|
|
-
|
372
|
372
|
appRole, getAppRoleErr := service.GetAppRole(adminUser.Id, org.Id, app.Id)
|
373
|
373
|
if getAppRoleErr != nil {
|
374
|
374
|
utils.ErrorLog("数据错误:查找id=%v,orgid=%v,appid=%v的用户信息时失败:%v", adminUser.Id, org.Id, app.Id, getAppRoleErr)
|