white.go 206 B

1234567891011
  1. package service
  2. import (
  3. "context"
  4. )
  5. // InsertWhite insert white
  6. func (s *Service) InsertWhite(c context.Context, mid int64, typ int) (err error) {
  7. _, err = s.dao.InsertWhitelist(c, mid, typ)
  8. return
  9. }