updateBidStatusLogic.go 692 B

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