Skip to content

Commit

Permalink
feat: 实现帖子综合搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
Lansongxx committed Apr 9, 2024
1 parent 0445d2b commit 6b70c20
Show file tree
Hide file tree
Showing 6 changed files with 565 additions and 683 deletions.
21 changes: 0 additions & 21 deletions biz/adaptor/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ type ContentServerImpl struct {
*config.Config
FileService service.IFileService
PostService service.IPostService
ZoneService service.IZoneService
UserService service.IUserService
ProductService service.IProductService
CouponService service.ICouponService
Expand Down Expand Up @@ -233,26 +232,6 @@ func (s *ContentServerImpl) CreateFile(ctx context.Context, req *content.CreateF
return s.FileService.CreateFile(ctx, req)
}

func (s *ContentServerImpl) GetZone(ctx context.Context, req *content.GetZoneReq) (res *content.GetZoneResp, err error) {
return s.ZoneService.GetZone(ctx, req)
}

func (s *ContentServerImpl) GetZones(ctx context.Context, req *content.GetZonesReq) (res *content.GetZonesResp, err error) {
return s.ZoneService.GetZones(ctx, req)
}

func (s *ContentServerImpl) CreateZone(ctx context.Context, req *content.CreateZoneReq) (*content.CreateZoneResp, error) {
return s.ZoneService.CreateZone(ctx, req)
}

func (s *ContentServerImpl) UpdateZone(ctx context.Context, req *content.UpdateZoneReq) (*content.UpdateZoneResp, error) {
return s.ZoneService.UpdateZone(ctx, req)
}

func (s *ContentServerImpl) DeleteZone(ctx context.Context, req *content.DeleteZoneReq) (*content.DeleteZoneResp, error) {
return s.ZoneService.DeleteZone(ctx, req)
}

func (s *ContentServerImpl) GetShareList(ctx context.Context, req *content.GetShareListReq) (*content.GetShareListResp, error) {
return s.FileService.GetShareList(ctx, req)
}
Expand Down
Loading

0 comments on commit 6b70c20

Please sign in to comment.