feat: ad manager
This commit is contained in:
@@ -35,7 +35,7 @@ func (s *AdServer) Edit(ctx context.Context, in *ad.EditReq) (*ad.Response, erro
|
||||
return l.Edit(in)
|
||||
}
|
||||
|
||||
// 广告列表
|
||||
// 广告列表(后台)
|
||||
func (s *AdServer) Items(ctx context.Context, in *ad.ItemsReq) (*ad.Response, error) {
|
||||
l := logic.NewItemsLogic(ctx, s.svcCtx)
|
||||
return l.Items(in)
|
||||
@@ -46,3 +46,9 @@ func (s *AdServer) Status(ctx context.Context, in *ad.StatusReq) (*ad.Response,
|
||||
l := logic.NewStatusLogic(ctx, s.svcCtx)
|
||||
return l.Status(in)
|
||||
}
|
||||
|
||||
// 广告列表(C 端)
|
||||
func (s *AdServer) WebItems(ctx context.Context, in *ad.WebItemsReq) (*ad.Response, error) {
|
||||
l := logic.NewWebItemsLogic(ctx, s.svcCtx)
|
||||
return l.WebItems(in)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user