You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
315 B

package service
import "context"
// AddAuthority .
func (s *Service) AddAuthority(c context.Context, mids []int64) (int64, error) {
return s.dao.AddAuthority(c, mids)
}
// RemoveAuthority .
func (s *Service) RemoveAuthority(c context.Context, mids []int64) (int64, error) {
return s.dao.RmAuthority(c, mids)
}