|
|
@@ -16,7 +16,7 @@ type AgentDao interface { |
|
|
|
FindAgentRolePermissionGroup(id int) (list []*AgentWithRolePermissionGroup, total int64, err error) |
|
|
|
GetSuperAdmin(agentId int) (list *model.Agent) |
|
|
|
GetSuperAgentByUsername(username string) (agent *model.Agent, err error) |
|
|
|
FindSuperAdminByAgebtId(agentId string, page, limit int) (list []model.Agent, total int64, err error) |
|
|
|
FindSuperAdminByAgentId(agentId string, page, limit int) (list []model.Agent, total int64, err error) |
|
|
|
FindAllSuperAdmin() (list *[]model.Agent) |
|
|
|
} |
|
|
|
|
|
|
|