go-common/app/admin/main/up-rating/service/authority.go

14 lines
315 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
}