作者 Your Name

Merge branch 'test' of http://gitlab.fjmaimaimai.com/allied-creation/allied-crea…

…tion-gateway into test
@@ -139,7 +139,7 @@ func (rolesService *RolesService) RoleMenuBeforeEdit(roleMenuBeforeEditQuery *qu @@ -139,7 +139,7 @@ func (rolesService *RolesService) RoleMenuBeforeEdit(roleMenuBeforeEditQuery *qu
139 roleMenuBeforeEditQuery.Operator) 139 roleMenuBeforeEditQuery.Operator)
140 roleId, _ := strconv.Atoi(roleMenuBeforeEditQuery.RoleId) 140 roleId, _ := strconv.Atoi(roleMenuBeforeEditQuery.RoleId)
141 roles, err := creationUserGateway.RoleSearch(allied_creation_user.ReqRoleSearch{ 141 roles, err := creationUserGateway.RoleSearch(allied_creation_user.ReqRoleSearch{
142 - OrgId: roleMenuBeforeEditQuery.Operator.OrgId, 142 + CompanyId: roleMenuBeforeEditQuery.Operator.CompanyId,
143 Limit: 999, 143 Limit: 999,
144 RoleType: 1, 144 RoleType: 1,
145 }) 145 })
@@ -33,6 +33,8 @@ type ( @@ -33,6 +33,8 @@ type (
33 RoleName string `json:"roleName"` 33 RoleName string `json:"roleName"`
34 // 组织ID 34 // 组织ID
35 OrgId int64 `json:"orgId"` 35 OrgId int64 `json:"orgId"`
  36 + // 企业id
  37 + CompanyId int64 `cname:"企业id" json:"companyId"`
36 // 匹配多个组织 38 // 匹配多个组织
37 InOrgIds []int64 `cname:"匹配多个组织" json:"inOrgIds,omitempty"` 39 InOrgIds []int64 `cname:"匹配多个组织" json:"inOrgIds,omitempty"`
38 // 角色名称 40 // 角色名称