package logic import ( "context" "app.yhyue.com/moapp/jyMarketing/rpc/activity" "app.yhyue.com/moapp/jyMarketing/rpc/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type GetAllLotteryLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetAllLotteryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetAllLotteryLogic { return &GetAllLotteryLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 商品下所有奖券获取 func (l *GetAllLotteryLogic) GetAllLottery(in *activity.Request) (*activity.ActivityResp, error) { // todo: add your logic here and delete this line return &activity.ActivityResp{}, nil }