diff --git a/src/dao/medium_dao.go b/src/dao/medium_dao.go index f175814..e65cea2 100644 --- a/src/dao/medium_dao.go +++ b/src/dao/medium_dao.go @@ -17,6 +17,7 @@ type MediumDao interface { FindSuperAdmin(username, memo string, page, limit int) (list []model.Medium, total int64, err error) FindSuperAdminByMediumId(mediumId string, page, limit int) (list []model.Medium, total int64, err error) GetSuperAdmin(mediumId int) (list *model.Medium) + FindAllSuperAdmin() (list *[]model.Medium) } type MediumWithRolePermissionGroup struct {