// Code scaffolded by goctl. Safe to edit. // goctl 1.10.1 package exchange import ( "context" "sundynix-micro-go/app/plant/api/internal/svc" "sundynix-micro-go/app/plant/api/internal/types" "github.com/zeromicro/go-zero/core/logx" ) type CreateExchangeOrderLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } // 兑换商品 func NewCreateExchangeOrderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateExchangeOrderLogic { return &CreateExchangeOrderLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *CreateExchangeOrderLogic) CreateExchangeOrder(req *types.ExchangeOrderReq) error { // todo: add your logic here and delete this line return nil }