Browse Source

updat

add_mode
DengBiao 1 year ago
parent
commit
c5aec907f7
2 changed files with 10 additions and 8 deletions
  1. +1
    -0
      app/admin/hdl/hdl_role.go
  2. +9
    -8
      app/admin/md/md_role.go

+ 1
- 0
app/admin/hdl/hdl_role.go View File

@@ -328,6 +328,7 @@ func AdminList(c *gin.Context) {
CreateAt: v.CreateAt,
UpdateAt: v.UpdateAt,
RoleList: roleList,
EnterpriseList: enterpriseList,
})
}



+ 9
- 8
app/admin/md/md_role.go View File

@@ -52,14 +52,15 @@ type AdminListReq struct {
}

type AdminListResp struct {
AdmId int `json:"adm_id"`
Username string `json:"username"`
State int32 `json:"state"`
IsSuperAdministrator int32 `json:"is_super_administrator"`
Memo string `json:"memo"`
CreateAt string `json:"create_at"`
UpdateAt string `json:"update_at"`
RoleList []string `json:"role_list"`
AdmId int `json:"adm_id"`
Username string `json:"username"`
State int32 `json:"state"`
IsSuperAdministrator int32 `json:"is_super_administrator"`
Memo string `json:"memo"`
CreateAt string `json:"create_at"`
UpdateAt string `json:"update_at"`
RoleList []string `json:"role_list"`
EnterpriseList []map[string]interface{} `json:"enterprise_list"`
}

type UpdateAdminStateReq struct {


Loading…
Cancel
Save