go-common/app/admin/main/up-rating/service/authority.go
2019-04-22 18:49:16 +08:00

14 lines
315 B
Go

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)
}