ソースを参照

11月8日库存管理

XMLWAN 3 年 前
コミット
62658ab710
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      controllers/new_mobile_api_controllers/home_api_controller.go

+ 2 - 0
controllers/new_mobile_api_controllers/home_api_controller.go ファイルの表示

@@ -81,6 +81,7 @@ func (this *HomeController) GetHomeData() {
81 81
 		}
82 82
 
83 83
 		cretor := adminUserInfo.AdminUser.Id
84
+		information, err := service.GetAdminUserRoleInformation(adminUserInfo.Org.Id)
84 85
 		this.ServeSuccessJSON(map[string]interface{}{
85 86
 			"orgs":            orgs,
86 87
 			"apps":            apps,
@@ -88,6 +89,7 @@ func (this *HomeController) GetHomeData() {
88 89
 			"isCreateOrg":     true,
89 90
 			"isSubSuperAdmin": isSubSuperAdmin,
90 91
 			"cretor":          cretor,
92
+			"information":     information,
91 93
 		})
92 94
 	} else {
93 95