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 RefundInfoLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewRefundInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RefundInfoLogic { return &RefundInfoLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 订单退款信息 func (l *RefundInfoLogic) RefundInfo(in *pb.OrderInfoReq) (*pb.RefundInfoResp, error) { // todo: add your logic here and delete this line return service.RefundInfo(in), nil }