package logic import ( "context" "bp.jydev.jianyu360.cn/BaseService/orderCenter/rpc/internal/svc" "bp.jydev.jianyu360.cn/BaseService/orderCenter/rpc/pb" "bp.jydev.jianyu360.cn/BaseService/orderCenter/service" "github.com/zeromicro/go-zero/core/logx" ) type OrderListLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewOrderListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *OrderListLogic { return &OrderListLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 订单查看 func (l *OrderListLogic) OrderList(in *pb.OrderListReq) (*pb.OrderListResp, error) { // todo: add your logic here and delete this line return service.OrderList(in), nil }