package logic import ( "context" "sundynix-micro-go/app/plant/rpc/internal/svc" "sundynix-micro-go/app/plant/rpc/plant" "github.com/zeromicro/go-zero/core/logx" ) type GetExchangeItemListLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetExchangeItemListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetExchangeItemListLogic { return &GetExchangeItemListLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 兑换 func (l *GetExchangeItemListLogic) GetExchangeItemList(in *plant.GetExchangeItemListReq) (*plant.GetExchangeItemListResp, error) { // todo: add your logic here and delete this line return &plant.GetExchangeItemListResp{}, nil }