|
@@ -182,7 +182,7 @@ func RoleGroupDelete(param protocol.RequestRoleDelete) error { |
|
@@ -182,7 +182,7 @@ func RoleGroupDelete(param protocol.RequestRoleDelete) error { |
182
|
//GetRoleList 获取角色列表
|
182
|
//GetRoleList 获取角色列表
|
183
|
func GetRoleList(adminid int64, companyId int64) ([]protocol.RoleGroup, error) {
|
183
|
func GetRoleList(adminid int64, companyId int64) ([]protocol.RoleGroup, error) {
|
184
|
var (
|
184
|
var (
|
185
|
- roleGroups []protocol.RoleGroup
|
185
|
+ roleGroups = make([]protocol.RoleGroup, 0)
|
186
|
err error
|
186
|
err error
|
187
|
groups []protocol.RoleInfo
|
187
|
groups []protocol.RoleInfo
|
188
|
// companyinfo *models.Company
|
188
|
// companyinfo *models.Company
|