mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
14 lines
315 B
Go
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)
|
||
|
|
}
|