package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/entManageApplication/service" "github.com/zeromicro/go-zero/core/logx" ) type BuyProductListLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewBuyProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BuyProductListLogic { return &BuyProductListLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } func (l *BuyProductListLogic) BuyProductList(in *pb.BuyProductListReq) (*pb.BuyProductListResp, error) { // todo: add your logic here and delete this line return service.BuyProductList(in), nil }