searchListLogic.go 658 B

123456789101112131415161718192021222324252627282930313233
  1. package logic
  2. import (
  3. "context"
  4. "net/http"
  5. "jyBXBuyer/api/internal/svc"
  6. "jyBXBuyer/api/internal/types"
  7. "github.com/zeromicro/go-zero/core/logx"
  8. )
  9. type SearchListLogic struct {
  10. logx.Logger
  11. ctx context.Context
  12. svcCtx *svc.ServiceContext
  13. r *http.Request
  14. }
  15. func NewSearchListLogic(ctx context.Context, svcCtx *svc.ServiceContext, r *http.Request) *SearchListLogic {
  16. return &SearchListLogic{
  17. Logger: logx.WithContext(ctx),
  18. ctx: ctx,
  19. svcCtx: svcCtx,
  20. r: r,
  21. }
  22. }
  23. func (l *SearchListLogic) SearchList(req *types.BuyerListReq) (resp *types.CommonResp, err error) {
  24. // todo: add your logic here and delete this line
  25. return
  26. }