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.
19 lines
518 B
19 lines
518 B
package service |
|
|
|
import ( |
|
"context" |
|
|
|
"go-common/app/interface/main/spread/model" |
|
) |
|
|
|
// BangumiContent . |
|
func (s *Service) BangumiContent(c context.Context, pn, ps int, typ int8, appkey string) (res model.BangumiResp, err error) { |
|
res, err = s.dao.BangumiContent(c, pn, ps, typ, appkey) |
|
return |
|
} |
|
|
|
// BangumiOff . |
|
func (s *Service) BangumiOff(c context.Context, pn, ps int, typ int8, ts int64, appkey string) (res model.BangumiOffResp, err error) { |
|
res, err = s.dao.BangumiOff(c, pn, ps, typ, appkey, ts) |
|
return |
|
}
|
|
|