v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

app/service/openplatform/ticket-sales/api/grpc/v1/ticket.proto
app/service/openplatform/ticket-sales/api/grpc/v1/promotion_mis.proto
app/service/openplatform/ticket-sales/api/grpc/v1/order.proto
app/service/openplatform/ticket-sales/api/grpc/v1/pay.proto
app/service/openplatform/ticket-sales/api/grpc/v1/promotion.proto

It has these top-level messages:

TicketViewRequest
TicketViewResponse
TicketItem
TicketSendRequest
TicketSendResponse
TicketSendItem
PromoOrderMis
GetGroupOrdersMisRequest
GetGroupOrdersMisResponse
ListOrdersRequest
ListOrdersResponse
OrderResponse
OrderResponseMore
CreateOrderSKU
CreateOrderRequest
CreateOrdersRequest
CreateOrderResult
CreateOrdersResponse
UpBuyerRequest
UpDeliveryRequest
UpDetailResponse
OrderLog
ListOrderLogRequest
ListOrderLogResponse
AddOrderLogRequest
AddOrderLogResponse
PayNotifyRequest
PayNotifyResponse
Promo
PromoGroup
PromoOrder
CreatePromoRequest
OperatePromoRequest
CheckCreatePromoOrderRequest
RepeatOrder
CheckCreatePromoOrderResponse
CreatePromoOrderRequest
CommonResponse
PromoID
OrderID
GroupID
GetPromoGroupInfoRequest
GetPromoGroupInfoResponse
CheckIssueResponse
FinishIssueRequest
GroupFailedRequest
EditPromoRequest

Index

Constants

View Source
const AppID = "ticket.service.sales"

AppID 本服务的discoveryID

Variables

View Source
var (
	ErrInvalidLengthOrder = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOrder   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthPay = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPay   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthPromotion = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPromotion   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthPromotionMis = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPromotionMis   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTicket = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTicket   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterPayServer

func RegisterPayServer(s *grpc.Server, srv PayServer)

func RegisterPromotionMisServer

func RegisterPromotionMisServer(s *grpc.Server, srv PromotionMisServer)

func RegisterPromotionServer

func RegisterPromotionServer(s *grpc.Server, srv PromotionServer)

func RegisterTicketServer

func RegisterTicketServer(s *grpc.Server, srv TicketServer)

func RegisterTradeServer

func RegisterTradeServer(s *grpc.Server, srv TradeServer)

Types

type AddOrderLogRequest

type AddOrderLogRequest struct {
	Data *OrderLog `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
}

AddOrderLogRequest 订单日志插入

func (*AddOrderLogRequest) Descriptor

func (*AddOrderLogRequest) Descriptor() ([]byte, []int)

func (*AddOrderLogRequest) Marshal

func (m *AddOrderLogRequest) Marshal() (dAtA []byte, err error)

func (*AddOrderLogRequest) MarshalTo

func (m *AddOrderLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddOrderLogRequest) ProtoMessage

func (*AddOrderLogRequest) ProtoMessage()

func (*AddOrderLogRequest) Reset

func (m *AddOrderLogRequest) Reset()

func (*AddOrderLogRequest) Size

func (m *AddOrderLogRequest) Size() (n int)

func (*AddOrderLogRequest) String

func (this *AddOrderLogRequest) String() string

func (*AddOrderLogRequest) Unmarshal

func (m *AddOrderLogRequest) Unmarshal(dAtA []byte) error

type AddOrderLogResponse

type AddOrderLogResponse struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}

AddOrderLogResponse 订单日志插入相应

func (*AddOrderLogResponse) Descriptor

func (*AddOrderLogResponse) Descriptor() ([]byte, []int)

func (*AddOrderLogResponse) Marshal

func (m *AddOrderLogResponse) Marshal() (dAtA []byte, err error)

func (*AddOrderLogResponse) MarshalTo

func (m *AddOrderLogResponse) MarshalTo(dAtA []byte) (int, error)

func (*AddOrderLogResponse) ProtoMessage

func (*AddOrderLogResponse) ProtoMessage()

func (*AddOrderLogResponse) Reset

func (m *AddOrderLogResponse) Reset()

func (*AddOrderLogResponse) Size

func (m *AddOrderLogResponse) Size() (n int)

func (*AddOrderLogResponse) String

func (this *AddOrderLogResponse) String() string

func (*AddOrderLogResponse) Unmarshal

func (m *AddOrderLogResponse) Unmarshal(dAtA []byte) error

type CheckCreatePromoOrderRequest

type CheckCreatePromoOrderRequest struct {
	UID     int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid" form:"uid" validate:"required"`
	SKUID   int64 `protobuf:"varint,2,opt,name=sku_id,json=skuId,proto3" json:"sku_id" form:"sku_id" validate:"required"`
	PromoID int64 `protobuf:"varint,3,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	GroupID int64 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id"`
}

func (*CheckCreatePromoOrderRequest) Descriptor

func (*CheckCreatePromoOrderRequest) Descriptor() ([]byte, []int)

func (*CheckCreatePromoOrderRequest) Marshal

func (m *CheckCreatePromoOrderRequest) Marshal() (dAtA []byte, err error)

func (*CheckCreatePromoOrderRequest) MarshalTo

func (m *CheckCreatePromoOrderRequest) MarshalTo(dAtA []byte) (int, error)

func (*CheckCreatePromoOrderRequest) ProtoMessage

func (*CheckCreatePromoOrderRequest) ProtoMessage()

func (*CheckCreatePromoOrderRequest) Reset

func (m *CheckCreatePromoOrderRequest) Reset()

func (*CheckCreatePromoOrderRequest) Size

func (m *CheckCreatePromoOrderRequest) Size() (n int)

func (*CheckCreatePromoOrderRequest) String

func (this *CheckCreatePromoOrderRequest) String() string

func (*CheckCreatePromoOrderRequest) Unmarshal

func (m *CheckCreatePromoOrderRequest) Unmarshal(dAtA []byte) error

type CheckCreatePromoOrderResponse

type CheckCreatePromoOrderResponse struct {
	Amount        int64        `protobuf:"varint,1,opt,name=amount,proto3" json:"amount"`
	SKUID         int64        `protobuf:"varint,2,opt,name=sku_id,json=skuId,proto3" json:"sku_id"`
	PrivSKUID     int64        `protobuf:"varint,3,opt,name=priv_sku_id,json=privSkuId,proto3" json:"priv_sku_id"`
	UsableCoupons string       `protobuf:"bytes,4,opt,name=usable_coupons,json=usableCoupons,proto3" json:"usable_coupons"`
	RepeatOrder   *RepeatOrder `protobuf:"bytes,5,opt,name=repeat_order,json=repeatOrder" json:"repeat_order"`
}

func (*CheckCreatePromoOrderResponse) Descriptor

func (*CheckCreatePromoOrderResponse) Descriptor() ([]byte, []int)

func (*CheckCreatePromoOrderResponse) Marshal

func (m *CheckCreatePromoOrderResponse) Marshal() (dAtA []byte, err error)

func (*CheckCreatePromoOrderResponse) MarshalTo

func (m *CheckCreatePromoOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*CheckCreatePromoOrderResponse) ProtoMessage

func (*CheckCreatePromoOrderResponse) ProtoMessage()

func (*CheckCreatePromoOrderResponse) Reset

func (m *CheckCreatePromoOrderResponse) Reset()

func (*CheckCreatePromoOrderResponse) Size

func (m *CheckCreatePromoOrderResponse) Size() (n int)

func (*CheckCreatePromoOrderResponse) String

func (this *CheckCreatePromoOrderResponse) String() string

func (*CheckCreatePromoOrderResponse) Unmarshal

func (m *CheckCreatePromoOrderResponse) Unmarshal(dAtA []byte) error

type CheckIssueResponse

type CheckIssueResponse struct {
	PromoID    int64      `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	GroupID    int64      `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id"`
	PaidOrders []*OrderID `protobuf:"bytes,3,rep,name=paid_orders,json=paidOrders" json:"paid_orders"`
}

func (*CheckIssueResponse) Descriptor

func (*CheckIssueResponse) Descriptor() ([]byte, []int)

func (*CheckIssueResponse) Marshal

func (m *CheckIssueResponse) Marshal() (dAtA []byte, err error)

func (*CheckIssueResponse) MarshalTo

func (m *CheckIssueResponse) MarshalTo(dAtA []byte) (int, error)

func (*CheckIssueResponse) ProtoMessage

func (*CheckIssueResponse) ProtoMessage()

func (*CheckIssueResponse) Reset

func (m *CheckIssueResponse) Reset()

func (*CheckIssueResponse) Size

func (m *CheckIssueResponse) Size() (n int)

func (*CheckIssueResponse) String

func (this *CheckIssueResponse) String() string

func (*CheckIssueResponse) Unmarshal

func (m *CheckIssueResponse) Unmarshal(dAtA []byte) error

type CommonResponse

type CommonResponse struct {
	Res int64 `protobuf:"varint,1,opt,name=res,proto3" json:"res"`
}

func (*CommonResponse) Descriptor

func (*CommonResponse) Descriptor() ([]byte, []int)

func (*CommonResponse) Marshal

func (m *CommonResponse) Marshal() (dAtA []byte, err error)

func (*CommonResponse) MarshalTo

func (m *CommonResponse) MarshalTo(dAtA []byte) (int, error)

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) Reset

func (m *CommonResponse) Reset()

func (*CommonResponse) Size

func (m *CommonResponse) Size() (n int)

func (*CommonResponse) String

func (this *CommonResponse) String() string

func (*CommonResponse) Unmarshal

func (m *CommonResponse) Unmarshal(dAtA []byte) error

type CreateOrderRequest

type CreateOrderRequest struct {
	ProjectID     int64                                 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	ScreenID      int64                                 `protobuf:"varint,2,opt,name=screen_id,json=screenId,proto3" json:"screen_id,omitempty"`
	SKUs          []*CreateOrderSKU                     `protobuf:"bytes,3,rep,name=skus" json:"skus,omitempty"`
	UID           int64                                 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
	PayMoney      int64                                 `protobuf:"varint,5,opt,name=pay_money,json=payMoney,proto3" json:"pay_money,omitempty"`
	OrderType     int16                                 `protobuf:"varint,6,opt,name=order_type,json=orderType,proto3,casttype=int16" json:"order_type,omitempty"`
	TS            int64                                 `protobuf:"varint,7,opt,name=ts,proto3" json:"ts,omitempty"`
	PromoID       int64                                 `protobuf:"varint,8,opt,name=promo_id,json=promoId,proto3" json:"promo_id,omitempty"`
	PromoGroupID  int64                                 `protobuf:"varint,9,opt,name=promo_group_id,json=promoGroupId,proto3" json:"promo_group_id,omitempty"`
	Buyers        []*ticket_service_sales_v1.OrderBuyer `protobuf:"bytes,10,rep,name=buyers" json:"buyers,omitempty"`
	DeliverDetail *ticket_service_sales_v1.OrderDeliver `protobuf:"bytes,11,opt,name=deliver_detail,json=deliverDetail" json:"deliver_detail,omitempty"`
	Seats         []uint64                              `protobuf:"varint,12,rep,packed,name=seats" json:"seats,omitempty"`
	Coupons       []string                              `protobuf:"bytes,13,rep,name=coupons" json:"coupons,omitempty"`
	LockID        int64                                 `protobuf:"varint,14,opt,name=lock_id,json=lockId,proto3" json:"lock_id,omitempty"`
	Source        string                                `protobuf:"bytes,15,opt,name=source,proto3" json:"source,omitempty"`
	IsDeleted     int16                                 `protobuf:"varint,16,opt,name=is_deleted,json=isDeleted,proto3,casttype=int16" json:"is_deleted,omitempty"`
	DeviceType    int16                                 `protobuf:"varint,17,opt,name=device_type,json=deviceType,proto3,casttype=int16" json:"device_type,omitempty"`
}

CreateOrderRequest 单个订单创建请求

func (*CreateOrderRequest) Descriptor

func (*CreateOrderRequest) Descriptor() ([]byte, []int)

func (*CreateOrderRequest) Marshal

func (m *CreateOrderRequest) Marshal() (dAtA []byte, err error)

func (*CreateOrderRequest) MarshalTo

func (m *CreateOrderRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateOrderRequest) ProtoMessage

func (*CreateOrderRequest) ProtoMessage()

func (*CreateOrderRequest) Reset

func (m *CreateOrderRequest) Reset()

func (*CreateOrderRequest) Size

func (m *CreateOrderRequest) Size() (n int)

func (*CreateOrderRequest) String

func (this *CreateOrderRequest) String() string

func (*CreateOrderRequest) Unmarshal

func (m *CreateOrderRequest) Unmarshal(dAtA []byte) error

type CreateOrderResult

type CreateOrderResult struct {
	OrderID int64  `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Code    int    `protobuf:"varint,2,opt,name=code,proto3,casttype=int" json:"code,omitempty"`
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
}

CreateOrderResult 创建订单结果

func (*CreateOrderResult) Descriptor

func (*CreateOrderResult) Descriptor() ([]byte, []int)

func (*CreateOrderResult) Marshal

func (m *CreateOrderResult) Marshal() (dAtA []byte, err error)

func (*CreateOrderResult) MarshalTo

func (m *CreateOrderResult) MarshalTo(dAtA []byte) (int, error)

func (*CreateOrderResult) ProtoMessage

func (*CreateOrderResult) ProtoMessage()

func (*CreateOrderResult) Reset

func (m *CreateOrderResult) Reset()

func (*CreateOrderResult) Size

func (m *CreateOrderResult) Size() (n int)

func (*CreateOrderResult) String

func (this *CreateOrderResult) String() string

func (*CreateOrderResult) Unmarshal

func (m *CreateOrderResult) Unmarshal(dAtA []byte) error

type CreateOrderSKU

type CreateOrderSKU struct {
	SKUID int64 `protobuf:"varint,1,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
}

CreateOrderSKU 创建订单的sku请求

func (*CreateOrderSKU) Descriptor

func (*CreateOrderSKU) Descriptor() ([]byte, []int)

func (*CreateOrderSKU) Marshal

func (m *CreateOrderSKU) Marshal() (dAtA []byte, err error)

func (*CreateOrderSKU) MarshalTo

func (m *CreateOrderSKU) MarshalTo(dAtA []byte) (int, error)

func (*CreateOrderSKU) ProtoMessage

func (*CreateOrderSKU) ProtoMessage()

func (*CreateOrderSKU) Reset

func (m *CreateOrderSKU) Reset()

func (*CreateOrderSKU) Size

func (m *CreateOrderSKU) Size() (n int)

func (*CreateOrderSKU) String

func (this *CreateOrderSKU) String() string

func (*CreateOrderSKU) Unmarshal

func (m *CreateOrderSKU) Unmarshal(dAtA []byte) error

type CreateOrdersRequest

type CreateOrdersRequest struct {
	Orders []*CreateOrderRequest `protobuf:"bytes,1,rep,name=orders" json:"orders,omitempty"`
}

CreateOrdersRequest 创建订单请求

func (*CreateOrdersRequest) Descriptor

func (*CreateOrdersRequest) Descriptor() ([]byte, []int)

func (*CreateOrdersRequest) Marshal

func (m *CreateOrdersRequest) Marshal() (dAtA []byte, err error)

func (*CreateOrdersRequest) MarshalTo

func (m *CreateOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateOrdersRequest) ProtoMessage

func (*CreateOrdersRequest) ProtoMessage()

func (*CreateOrdersRequest) Reset

func (m *CreateOrdersRequest) Reset()

func (*CreateOrdersRequest) Size

func (m *CreateOrdersRequest) Size() (n int)

func (*CreateOrdersRequest) String

func (this *CreateOrdersRequest) String() string

func (*CreateOrdersRequest) Unmarshal

func (m *CreateOrdersRequest) Unmarshal(dAtA []byte) error

type CreateOrdersResponse

type CreateOrdersResponse struct {
	Count  uint32               `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	Result []*CreateOrderResult `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
}

CreateOrdersResponse 创建订单响应

func (*CreateOrdersResponse) Descriptor

func (*CreateOrdersResponse) Descriptor() ([]byte, []int)

func (*CreateOrdersResponse) Marshal

func (m *CreateOrdersResponse) Marshal() (dAtA []byte, err error)

func (*CreateOrdersResponse) MarshalTo

func (m *CreateOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateOrdersResponse) ProtoMessage

func (*CreateOrdersResponse) ProtoMessage()

func (*CreateOrdersResponse) Reset

func (m *CreateOrdersResponse) Reset()

func (*CreateOrdersResponse) Size

func (m *CreateOrdersResponse) Size() (n int)

func (*CreateOrdersResponse) String

func (this *CreateOrdersResponse) String() string

func (*CreateOrdersResponse) Unmarshal

func (m *CreateOrdersResponse) Unmarshal(dAtA []byte) error

type CreatePromoOrderRequest

type CreatePromoOrderRequest struct {
	PromoID    int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	OrderID    int64 `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id" form:"order_id" validate:"required"`
	GroupID    int64 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id"`
	UID        int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid" form:"uid" validate:"required"`
	PromoSKUID int64 `protobuf:"varint,5,opt,name=promo_sku_id,json=promoSkuId,proto3" json:"promo_sku_id" form:"promo_sku_id" validate:"required"`
	Ctime      int64 `protobuf:"varint,6,opt,name=ctime,proto3" json:"ctime" form:"ctime" validate:"required"`
	PayMoney   int64 `protobuf:"varint,7,opt,name=pay_money,json=payMoney,proto3" json:"pay_money" form:"pay_money"`
}

func (*CreatePromoOrderRequest) Descriptor

func (*CreatePromoOrderRequest) Descriptor() ([]byte, []int)

func (*CreatePromoOrderRequest) Marshal

func (m *CreatePromoOrderRequest) Marshal() (dAtA []byte, err error)

func (*CreatePromoOrderRequest) MarshalTo

func (m *CreatePromoOrderRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreatePromoOrderRequest) ProtoMessage

func (*CreatePromoOrderRequest) ProtoMessage()

func (*CreatePromoOrderRequest) Reset

func (m *CreatePromoOrderRequest) Reset()

func (*CreatePromoOrderRequest) Size

func (m *CreatePromoOrderRequest) Size() (n int)

func (*CreatePromoOrderRequest) String

func (this *CreatePromoOrderRequest) String() string

func (*CreatePromoOrderRequest) Unmarshal

func (m *CreatePromoOrderRequest) Unmarshal(dAtA []byte) error

type CreatePromoRequest

type CreatePromoRequest struct {
	PromoID       int64  `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	Type          int16  `protobuf:"varint,2,opt,name=type,proto3,casttype=int16" json:"type" form:"type"`
	ItemID        int64  `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id" form:"item_id" validate:"required"`
	SKUID         int64  `protobuf:"varint,4,opt,name=sku_id,json=skuId,proto3" json:"sku_id" form:"sku_id" validate:"required"`
	Extra         int64  `protobuf:"varint,5,opt,name=extra,proto3" json:"extra" form:"extra" validate:"required"`
	ExpireSec     int64  `protobuf:"varint,6,opt,name=expire_sec,json=expireSec,proto3" json:"expire_sec" form:"expire_sec" validate:"required"`
	SKUCount      int64  `protobuf:"varint,7,opt,name=sku_count,json=skuCount,proto3" json:"sku_count" form:"sku_count" validate:"required"`
	Amount        int64  `protobuf:"varint,8,opt,name=amount,proto3" json:"amount" form:"amount" validate:"required"`
	BuyerCount    int64  `protobuf:"varint,9,opt,name=buyer_count,json=buyerCount,proto3" json:"buyer_count" form:"buyer_count" validate:"required"`
	BeginTime     int64  `protobuf:"varint,10,opt,name=begin_time,json=beginTime,proto3" json:"begin_time" form:"begin_time" validate:"required"`
	EndTime       int64  `protobuf:"varint,11,opt,name=end_time,json=endTime,proto3" json:"end_time" form:"end_time" validate:"required"`
	PrivSKUID     int64  `protobuf:"varint,12,opt,name=priv_sku_id,json=privSkuId,proto3" json:"priv_sku_id" form:"priv_sku_id"`
	UsableCoupons string `protobuf:"bytes,13,opt,name=usable_coupons,json=usableCoupons,proto3" json:"usable_coupons" form:"usable_coupons"`
}

func (*CreatePromoRequest) Descriptor

func (*CreatePromoRequest) Descriptor() ([]byte, []int)

func (*CreatePromoRequest) Marshal

func (m *CreatePromoRequest) Marshal() (dAtA []byte, err error)

func (*CreatePromoRequest) MarshalTo

func (m *CreatePromoRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreatePromoRequest) ProtoMessage

func (*CreatePromoRequest) ProtoMessage()

func (*CreatePromoRequest) Reset

func (m *CreatePromoRequest) Reset()

func (*CreatePromoRequest) Size

func (m *CreatePromoRequest) Size() (n int)

func (*CreatePromoRequest) String

func (this *CreatePromoRequest) String() string

func (*CreatePromoRequest) Unmarshal

func (m *CreatePromoRequest) Unmarshal(dAtA []byte) error

type EditPromoRequest

type EditPromoRequest struct {
	PromoID       int64  `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	Amount        int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount" form:"amount"`
	ExpireSec     int64  `protobuf:"varint,3,opt,name=expire_sec,json=expireSec,proto3" json:"expire_sec" form:"expire_sec"`
	BeginTime     int64  `protobuf:"varint,4,opt,name=begin_time,json=beginTime,proto3" json:"begin_time" form:"begin_time"`
	EndTime       int64  `protobuf:"varint,5,opt,name=end_time,json=endTime,proto3" json:"end_time" form:"end_time"`
	PrivSKUID     int64  `protobuf:"varint,6,opt,name=priv_sku_id,json=privSkuId,proto3" json:"priv_sku_id" form:"priv_sku_id"`
	UsableCoupons string `protobuf:"bytes,7,opt,name=usable_coupons,json=usableCoupons,proto3" json:"usable_coupons" form:"usable_coupons"`
	SKUCount      int64  `protobuf:"varint,8,opt,name=sku_count,json=skuCount,proto3" json:"sku_count" form:"sku_count"`
}

func (*EditPromoRequest) Descriptor

func (*EditPromoRequest) Descriptor() ([]byte, []int)

func (*EditPromoRequest) Marshal

func (m *EditPromoRequest) Marshal() (dAtA []byte, err error)

func (*EditPromoRequest) MarshalTo

func (m *EditPromoRequest) MarshalTo(dAtA []byte) (int, error)

func (*EditPromoRequest) ProtoMessage

func (*EditPromoRequest) ProtoMessage()

func (*EditPromoRequest) Reset

func (m *EditPromoRequest) Reset()

func (*EditPromoRequest) Size

func (m *EditPromoRequest) Size() (n int)

func (*EditPromoRequest) String

func (this *EditPromoRequest) String() string

func (*EditPromoRequest) Unmarshal

func (m *EditPromoRequest) Unmarshal(dAtA []byte) error

type FinishIssueRequest

type FinishIssueRequest struct {
	PromoID int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	GroupID int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id" validate:"required"`
}

func (*FinishIssueRequest) Descriptor

func (*FinishIssueRequest) Descriptor() ([]byte, []int)

func (*FinishIssueRequest) Marshal

func (m *FinishIssueRequest) Marshal() (dAtA []byte, err error)

func (*FinishIssueRequest) MarshalTo

func (m *FinishIssueRequest) MarshalTo(dAtA []byte) (int, error)

func (*FinishIssueRequest) ProtoMessage

func (*FinishIssueRequest) ProtoMessage()

func (*FinishIssueRequest) Reset

func (m *FinishIssueRequest) Reset()

func (*FinishIssueRequest) Size

func (m *FinishIssueRequest) Size() (n int)

func (*FinishIssueRequest) String

func (this *FinishIssueRequest) String() string

func (*FinishIssueRequest) Unmarshal

func (m *FinishIssueRequest) Unmarshal(dAtA []byte) error

type GetGroupOrdersMisRequest

type GetGroupOrdersMisRequest struct {
	OrderID int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id" form:"order_id"`
	GroupID int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id"`
}

func (*GetGroupOrdersMisRequest) Descriptor

func (*GetGroupOrdersMisRequest) Descriptor() ([]byte, []int)

func (*GetGroupOrdersMisRequest) Marshal

func (m *GetGroupOrdersMisRequest) Marshal() (dAtA []byte, err error)

func (*GetGroupOrdersMisRequest) MarshalTo

func (m *GetGroupOrdersMisRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetGroupOrdersMisRequest) ProtoMessage

func (*GetGroupOrdersMisRequest) ProtoMessage()

func (*GetGroupOrdersMisRequest) Reset

func (m *GetGroupOrdersMisRequest) Reset()

func (*GetGroupOrdersMisRequest) Size

func (m *GetGroupOrdersMisRequest) Size() (n int)

func (*GetGroupOrdersMisRequest) String

func (this *GetGroupOrdersMisRequest) String() string

func (*GetGroupOrdersMisRequest) Unmarshal

func (m *GetGroupOrdersMisRequest) Unmarshal(dAtA []byte) error

type GetGroupOrdersMisResponse

type GetGroupOrdersMisResponse struct {
	Orders []*PromoOrderMis `protobuf:"bytes,2,rep,name=orders" json:"orders"`
}

func (*GetGroupOrdersMisResponse) Descriptor

func (*GetGroupOrdersMisResponse) Descriptor() ([]byte, []int)

func (*GetGroupOrdersMisResponse) Marshal

func (m *GetGroupOrdersMisResponse) Marshal() (dAtA []byte, err error)

func (*GetGroupOrdersMisResponse) MarshalTo

func (m *GetGroupOrdersMisResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetGroupOrdersMisResponse) ProtoMessage

func (*GetGroupOrdersMisResponse) ProtoMessage()

func (*GetGroupOrdersMisResponse) Reset

func (m *GetGroupOrdersMisResponse) Reset()

func (*GetGroupOrdersMisResponse) Size

func (m *GetGroupOrdersMisResponse) Size() (n int)

func (*GetGroupOrdersMisResponse) String

func (this *GetGroupOrdersMisResponse) String() string

func (*GetGroupOrdersMisResponse) Unmarshal

func (m *GetGroupOrdersMisResponse) Unmarshal(dAtA []byte) error

type GetPromoGroupInfoRequest

type GetPromoGroupInfoRequest struct {
	OrderID int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id" form:"order_id" validate:"required"`
}

func (*GetPromoGroupInfoRequest) Descriptor

func (*GetPromoGroupInfoRequest) Descriptor() ([]byte, []int)

func (*GetPromoGroupInfoRequest) Marshal

func (m *GetPromoGroupInfoRequest) Marshal() (dAtA []byte, err error)

func (*GetPromoGroupInfoRequest) MarshalTo

func (m *GetPromoGroupInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*GetPromoGroupInfoRequest) ProtoMessage

func (*GetPromoGroupInfoRequest) ProtoMessage()

func (*GetPromoGroupInfoRequest) Reset

func (m *GetPromoGroupInfoRequest) Reset()

func (*GetPromoGroupInfoRequest) Size

func (m *GetPromoGroupInfoRequest) Size() (n int)

func (*GetPromoGroupInfoRequest) String

func (this *GetPromoGroupInfoRequest) String() string

func (*GetPromoGroupInfoRequest) Unmarshal

func (m *GetPromoGroupInfoRequest) Unmarshal(dAtA []byte) error

type GetPromoGroupInfoResponse

type GetPromoGroupInfoResponse struct {
	PromoID    int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	SKUCount   int64 `protobuf:"varint,2,opt,name=sku_count,json=skuCount,proto3" json:"sku_count"`
	Amount     int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount"`
	GroupID    int64 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id"`
	OrderCount int64 `protobuf:"varint,5,opt,name=order_count,json=orderCount,proto3" json:"order_count"`
	ExpireAt   int64 `protobuf:"varint,6,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"`
	Status     int16 `protobuf:"varint,7,opt,name=status,proto3,casttype=int16" json:"status"`
	Ctime      int64 `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime"`
}

func (*GetPromoGroupInfoResponse) Descriptor

func (*GetPromoGroupInfoResponse) Descriptor() ([]byte, []int)

func (*GetPromoGroupInfoResponse) Marshal

func (m *GetPromoGroupInfoResponse) Marshal() (dAtA []byte, err error)

func (*GetPromoGroupInfoResponse) MarshalTo

func (m *GetPromoGroupInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*GetPromoGroupInfoResponse) ProtoMessage

func (*GetPromoGroupInfoResponse) ProtoMessage()

func (*GetPromoGroupInfoResponse) Reset

func (m *GetPromoGroupInfoResponse) Reset()

func (*GetPromoGroupInfoResponse) Size

func (m *GetPromoGroupInfoResponse) Size() (n int)

func (*GetPromoGroupInfoResponse) String

func (this *GetPromoGroupInfoResponse) String() string

func (*GetPromoGroupInfoResponse) Unmarshal

func (m *GetPromoGroupInfoResponse) Unmarshal(dAtA []byte) error

type GroupFailedRequest

type GroupFailedRequest struct {
	GroupID   int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id" validate:"required"`
	CancelNum int64 `protobuf:"varint,2,opt,name=cancel_num,json=cancelNum,proto3" json:"cancel_num" form:"cancel_num" validate:"required"`
}

func (*GroupFailedRequest) Descriptor

func (*GroupFailedRequest) Descriptor() ([]byte, []int)

func (*GroupFailedRequest) Marshal

func (m *GroupFailedRequest) Marshal() (dAtA []byte, err error)

func (*GroupFailedRequest) MarshalTo

func (m *GroupFailedRequest) MarshalTo(dAtA []byte) (int, error)

func (*GroupFailedRequest) ProtoMessage

func (*GroupFailedRequest) ProtoMessage()

func (*GroupFailedRequest) Reset

func (m *GroupFailedRequest) Reset()

func (*GroupFailedRequest) Size

func (m *GroupFailedRequest) Size() (n int)

func (*GroupFailedRequest) String

func (this *GroupFailedRequest) String() string

func (*GroupFailedRequest) Unmarshal

func (m *GroupFailedRequest) Unmarshal(dAtA []byte) error

type GroupID

type GroupID struct {
	GroupID int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id" form:"group_id" validate:"required"`
}

func (*GroupID) Descriptor

func (*GroupID) Descriptor() ([]byte, []int)

func (*GroupID) Marshal

func (m *GroupID) Marshal() (dAtA []byte, err error)

func (*GroupID) MarshalTo

func (m *GroupID) MarshalTo(dAtA []byte) (int, error)

func (*GroupID) ProtoMessage

func (*GroupID) ProtoMessage()

func (*GroupID) Reset

func (m *GroupID) Reset()

func (*GroupID) Size

func (m *GroupID) Size() (n int)

func (*GroupID) String

func (this *GroupID) String() string

func (*GroupID) Unmarshal

func (m *GroupID) Unmarshal(dAtA []byte) error

type ListOrderLogRequest

type ListOrderLogRequest struct {
	OrderID int64  `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Limit   int64  `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  int64  `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
	OrderBy string `protobuf:"bytes,4,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
}

ListOrdersLogRequest 订单日志

func (*ListOrderLogRequest) Descriptor

func (*ListOrderLogRequest) Descriptor() ([]byte, []int)

func (*ListOrderLogRequest) Marshal

func (m *ListOrderLogRequest) Marshal() (dAtA []byte, err error)

func (*ListOrderLogRequest) MarshalTo

func (m *ListOrderLogRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListOrderLogRequest) ProtoMessage

func (*ListOrderLogRequest) ProtoMessage()

func (*ListOrderLogRequest) Reset

func (m *ListOrderLogRequest) Reset()

func (*ListOrderLogRequest) Size

func (m *ListOrderLogRequest) Size() (n int)

func (*ListOrderLogRequest) String

func (this *ListOrderLogRequest) String() string

func (*ListOrderLogRequest) Unmarshal

func (m *ListOrderLogRequest) Unmarshal(dAtA []byte) error

type ListOrderLogResponse

type ListOrderLogResponse struct {
	List []*OrderLog `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	Cnt  int64       `protobuf:"varint,2,opt,name=cnt,proto3" json:"cnt,omitempty"`
}

ListOrderLogResponse 订单日志相应

func (*ListOrderLogResponse) Descriptor

func (*ListOrderLogResponse) Descriptor() ([]byte, []int)

func (*ListOrderLogResponse) Marshal

func (m *ListOrderLogResponse) Marshal() (dAtA []byte, err error)

func (*ListOrderLogResponse) MarshalTo

func (m *ListOrderLogResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListOrderLogResponse) ProtoMessage

func (*ListOrderLogResponse) ProtoMessage()

func (*ListOrderLogResponse) Reset

func (m *ListOrderLogResponse) Reset()

func (*ListOrderLogResponse) Size

func (m *ListOrderLogResponse) Size() (n int)

func (*ListOrderLogResponse) String

func (this *ListOrderLogResponse) String() string

func (*ListOrderLogResponse) Unmarshal

func (m *ListOrderLogResponse) Unmarshal(dAtA []byte) error

type ListOrdersRequest

type ListOrdersRequest struct {
	UID          string  `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	OrderID      []int64 `protobuf:"varint,2,rep,packed,name=order_id,json=orderId" json:"order_id,omitempty"`
	ItemID       int64   `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	Status       []int16 `protobuf:"varint,4,rep,packed,name=status,casttype=int16" json:"status,omitempty"`
	SubStatus    []int16 `protobuf:"varint,5,rep,packed,name=sub_status,json=subStatus,casttype=int16" json:"sub_status,omitempty"`
	RefundStatus []int16 `protobuf:"varint,6,rep,packed,name=refund_status,json=refundStatus,casttype=int16" json:"refund_status,omitempty"`
	Limit        int64   `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset       int64   `protobuf:"varint,8,opt,name=offset,proto3" json:"offset,omitempty"`
	OrderBy      string  `protobuf:"bytes,9,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
}

ListOrdersRequest 用户订单列表请求参数

func (*ListOrdersRequest) Descriptor

func (*ListOrdersRequest) Descriptor() ([]byte, []int)

func (*ListOrdersRequest) Marshal

func (m *ListOrdersRequest) Marshal() (dAtA []byte, err error)

func (*ListOrdersRequest) MarshalTo

func (m *ListOrdersRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListOrdersRequest) ProtoMessage

func (*ListOrdersRequest) ProtoMessage()

func (*ListOrdersRequest) Reset

func (m *ListOrdersRequest) Reset()

func (*ListOrdersRequest) Size

func (m *ListOrdersRequest) Size() (n int)

func (*ListOrdersRequest) String

func (this *ListOrdersRequest) String() string

func (*ListOrdersRequest) Unmarshal

func (m *ListOrdersRequest) Unmarshal(dAtA []byte) error

type ListOrdersResponse

type ListOrdersResponse struct {
	List       []*OrderResponse `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	Count      int64            `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	NextOffset int64            `protobuf:"varint,3,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
}

ListOrdersResponse 用户订单列表返回

func (*ListOrdersResponse) Descriptor

func (*ListOrdersResponse) Descriptor() ([]byte, []int)

func (*ListOrdersResponse) Marshal

func (m *ListOrdersResponse) Marshal() (dAtA []byte, err error)

func (*ListOrdersResponse) MarshalTo

func (m *ListOrdersResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListOrdersResponse) ProtoMessage

func (*ListOrdersResponse) ProtoMessage()

func (*ListOrdersResponse) Reset

func (m *ListOrdersResponse) Reset()

func (*ListOrdersResponse) Size

func (m *ListOrdersResponse) Size() (n int)

func (*ListOrdersResponse) String

func (this *ListOrdersResponse) String() string

func (*ListOrdersResponse) Unmarshal

func (m *ListOrdersResponse) Unmarshal(dAtA []byte) error

type OperatePromoRequest

type OperatePromoRequest struct {
	PromoID     int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
	OperateType int16 `` /* 140-byte string literal not displayed */
}

func (*OperatePromoRequest) Descriptor

func (*OperatePromoRequest) Descriptor() ([]byte, []int)

func (*OperatePromoRequest) Marshal

func (m *OperatePromoRequest) Marshal() (dAtA []byte, err error)

func (*OperatePromoRequest) MarshalTo

func (m *OperatePromoRequest) MarshalTo(dAtA []byte) (int, error)

func (*OperatePromoRequest) ProtoMessage

func (*OperatePromoRequest) ProtoMessage()

func (*OperatePromoRequest) Reset

func (m *OperatePromoRequest) Reset()

func (*OperatePromoRequest) Size

func (m *OperatePromoRequest) Size() (n int)

func (*OperatePromoRequest) String

func (this *OperatePromoRequest) String() string

func (*OperatePromoRequest) Unmarshal

func (m *OperatePromoRequest) Unmarshal(dAtA []byte) error

type OrderID

type OrderID struct {
	OrderID int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id" form:"order_id" validate:"required"`
}

func (*OrderID) Descriptor

func (*OrderID) Descriptor() ([]byte, []int)

func (*OrderID) Marshal

func (m *OrderID) Marshal() (dAtA []byte, err error)

func (*OrderID) MarshalTo

func (m *OrderID) MarshalTo(dAtA []byte) (int, error)

func (*OrderID) ProtoMessage

func (*OrderID) ProtoMessage()

func (*OrderID) Reset

func (m *OrderID) Reset()

func (*OrderID) Size

func (m *OrderID) Size() (n int)

func (*OrderID) String

func (this *OrderID) String() string

func (*OrderID) Unmarshal

func (m *OrderID) Unmarshal(dAtA []byte) error

type OrderLog

type OrderLog struct {
	ID       int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UID      string                      `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	OID      int64                       `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	IP       string                      `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
	OpData   string                      `protobuf:"bytes,5,opt,name=op_data,json=opData,proto3" json:"op_data,omitempty"`
	Remark   string                      `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"`
	OpObject string                      `protobuf:"bytes,7,opt,name=op_object,json=opObject,proto3" json:"op_object,omitempty"`
	OpName   string                      `protobuf:"bytes,8,opt,name=op_name,json=opName,proto3" json:"op_name,omitempty"`
	CTime    go_common_library_time.Time `protobuf:"varint,9,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime,omitempty"`
	MTime    go_common_library_time.Time `protobuf:"varint,10,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"`
}

OrderLog 订单日志

func (*OrderLog) Descriptor

func (*OrderLog) Descriptor() ([]byte, []int)

func (*OrderLog) Marshal

func (m *OrderLog) Marshal() (dAtA []byte, err error)

func (*OrderLog) MarshalTo

func (m *OrderLog) MarshalTo(dAtA []byte) (int, error)

func (*OrderLog) ProtoMessage

func (*OrderLog) ProtoMessage()

func (*OrderLog) Reset

func (m *OrderLog) Reset()

func (*OrderLog) Size

func (m *OrderLog) Size() (n int)

func (*OrderLog) String

func (this *OrderLog) String() string

func (*OrderLog) Unmarshal

func (m *OrderLog) Unmarshal(dAtA []byte) error

type OrderResponse

type OrderResponse struct {
	OrderID      int64                                   `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id"`
	UID          string                                  `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
	OrderType    int16                                   `protobuf:"varint,3,opt,name=order_type,json=orderType,proto3,casttype=int16" json:"order_type"`
	ItemID       int64                                   `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3" json:"item_id"`
	ItemInfo     *ticket_service_sales_v1.OrderItemInfo  `protobuf:"bytes,5,opt,name=item_info,json=itemInfo" json:"item_info"`
	Count        int64                                   `protobuf:"varint,6,opt,name=count,proto3" json:"count"`
	TotalMoney   int64                                   `protobuf:"varint,7,opt,name=total_money,json=totalMoney,proto3" json:"total_money"`
	PayMoney     int64                                   `protobuf:"varint,8,opt,name=pay_money,json=payMoney,proto3" json:"pay_money"`
	ExpressFee   int64                                   `protobuf:"varint,9,opt,name=express_fee,json=expressFee,proto3" json:"express_fee"`
	Status       int16                                   `protobuf:"varint,10,opt,name=status,proto3,casttype=int16" json:"status"`
	SubStatus    int16                                   `protobuf:"varint,11,opt,name=sub_status,json=subStatus,proto3,casttype=int16" json:"sub_status"`
	RefundStatus int16                                   `protobuf:"varint,12,opt,name=refund_status,json=refundStatus,proto3,casttype=int16" json:"refund_status"`
	Source       string                                  `protobuf:"bytes,13,opt,name=source,proto3" json:"source"`
	IsDeleted    int16                                   `protobuf:"varint,14,opt,name=is_deleted,json=isDeleted,proto3,casttype=int16" json:"is_deleted"`
	SKUs         []*ticket_service_sales_v1.OrderSKU     `protobuf:"bytes,15,rep,name=skus" json:"order_sku"`
	Detail       *OrderResponseMore                      `protobuf:"bytes,16,opt,name=detail" json:"detail"`
	PayCharge    *ticket_service_sales_v1.OrderPayCharge `protobuf:"bytes,17,opt,name=pay_charge,json=payCharge" json:"pay_charge"`
	CTime        go_common_library_time.Time             `protobuf:"varint,18,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	MTime        go_common_library_time.Time             `protobuf:"varint,19,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime"`
}

OrderResponse 单个订单响应

func (*OrderResponse) Descriptor

func (*OrderResponse) Descriptor() ([]byte, []int)

func (*OrderResponse) Marshal

func (m *OrderResponse) Marshal() (dAtA []byte, err error)

func (*OrderResponse) MarshalTo

func (m *OrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*OrderResponse) ProtoMessage

func (*OrderResponse) ProtoMessage()

func (*OrderResponse) Reset

func (m *OrderResponse) Reset()

func (*OrderResponse) Size

func (m *OrderResponse) Size() (n int)

func (*OrderResponse) String

func (this *OrderResponse) String() string

func (*OrderResponse) Unmarshal

func (m *OrderResponse) Unmarshal(dAtA []byte) error

type OrderResponseMore

type OrderResponseMore struct {
	Coupon      *ticket_service_sales_v1.OrderCoupon  `protobuf:"bytes,1,opt,name=coupon" json:"coupon"`
	Buyers      []*ticket_service_sales_v1.OrderBuyer `protobuf:"bytes,2,rep,name=buyers" json:"buyers"`
	Extra       *ticket_service_sales_v1.OrderExtra   `protobuf:"bytes,3,opt,name=extra" json:"extra"`
	Deliver     *ticket_service_sales_v1.OrderDeliver `protobuf:"bytes,4,opt,name=deliver" json:"deliver"`
	Remark      string                                `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark"`
	DeviceType  int16                                 `protobuf:"varint,6,opt,name=device_type,json=deviceType,proto3,casttype=int16" json:"device_type"`
	IP          uint32                                `protobuf:"varint,7,opt,name=ip,proto3" json:"ip"`
	MSource     string                                `protobuf:"bytes,8,opt,name=msource,proto3" json:"msource"`
	ExpressCO   string                                `protobuf:"bytes,9,opt,name=express_co,json=expressCo,proto3" json:"-"`
	ExpressNO   string                                `protobuf:"bytes,10,opt,name=express_no,json=expressNo,proto3" json:"-"`
	ExpressType int16                                 `protobuf:"varint,11,opt,name=express_type,json=expressType,proto3,casttype=int16" json:"-"`
}

OrderResponseMore 更详细的订单响应信息

func (*OrderResponseMore) Descriptor

func (*OrderResponseMore) Descriptor() ([]byte, []int)

func (*OrderResponseMore) Marshal

func (m *OrderResponseMore) Marshal() (dAtA []byte, err error)

func (*OrderResponseMore) MarshalTo

func (m *OrderResponseMore) MarshalTo(dAtA []byte) (int, error)

func (*OrderResponseMore) ProtoMessage

func (*OrderResponseMore) ProtoMessage()

func (*OrderResponseMore) Reset

func (m *OrderResponseMore) Reset()

func (*OrderResponseMore) Size

func (m *OrderResponseMore) Size() (n int)

func (*OrderResponseMore) String

func (this *OrderResponseMore) String() string

func (*OrderResponseMore) Unmarshal

func (m *OrderResponseMore) Unmarshal(dAtA []byte) error

type PayClient

type PayClient interface {
	PayNotify(ctx context.Context, in *PayNotifyRequest, opts ...grpc.CallOption) (*PayNotifyResponse, error)
}

func NewPayClient

func NewPayClient(cc *grpc.ClientConn) PayClient

type PayNotifyRequest

type PayNotifyRequest struct {
	MsgID      string `protobuf:"bytes,1,opt,name=msgID,proto3" json:"msgID,omitempty"`
	MsgContent string `protobuf:"bytes,2,opt,name=msgContent,proto3" json:"msgContent,omitempty"`
	TestMode   bool   `protobuf:"varint,3,opt,name=testMode,proto3" json:"testMode,omitempty"`
}

func (*PayNotifyRequest) Descriptor

func (*PayNotifyRequest) Descriptor() ([]byte, []int)

func (*PayNotifyRequest) Marshal

func (m *PayNotifyRequest) Marshal() (dAtA []byte, err error)

func (*PayNotifyRequest) MarshalTo

func (m *PayNotifyRequest) MarshalTo(dAtA []byte) (int, error)

func (*PayNotifyRequest) ProtoMessage

func (*PayNotifyRequest) ProtoMessage()

func (*PayNotifyRequest) Reset

func (m *PayNotifyRequest) Reset()

func (*PayNotifyRequest) Size

func (m *PayNotifyRequest) Size() (n int)

func (*PayNotifyRequest) String

func (this *PayNotifyRequest) String() string

func (*PayNotifyRequest) Unmarshal

func (m *PayNotifyRequest) Unmarshal(dAtA []byte) error

type PayNotifyResponse

type PayNotifyResponse struct {
}

func (*PayNotifyResponse) Descriptor

func (*PayNotifyResponse) Descriptor() ([]byte, []int)

func (*PayNotifyResponse) Marshal

func (m *PayNotifyResponse) Marshal() (dAtA []byte, err error)

func (*PayNotifyResponse) MarshalTo

func (m *PayNotifyResponse) MarshalTo(dAtA []byte) (int, error)

func (*PayNotifyResponse) ProtoMessage

func (*PayNotifyResponse) ProtoMessage()

func (*PayNotifyResponse) Reset

func (m *PayNotifyResponse) Reset()

func (*PayNotifyResponse) Size

func (m *PayNotifyResponse) Size() (n int)

func (*PayNotifyResponse) String

func (this *PayNotifyResponse) String() string

func (*PayNotifyResponse) Unmarshal

func (m *PayNotifyResponse) Unmarshal(dAtA []byte) error

type PayServer

type PayServer interface {
	PayNotify(context.Context, *PayNotifyRequest) (*PayNotifyResponse, error)
}

type Promo

type Promo struct {
	PromoID       int64  `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	Type          int16  `protobuf:"varint,2,opt,name=type,proto3,casttype=int16" json:"type"`
	ItemID        int64  `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id"`
	SKUID         int64  `protobuf:"varint,4,opt,name=sku_id,json=skuId,proto3" json:"sku_id"`
	Extra         int64  `protobuf:"varint,5,opt,name=extra,proto3" json:"extra"`
	ExpireSec     int64  `protobuf:"varint,6,opt,name=expire_sec,json=expireSec,proto3" json:"expire_sec"`
	SKUCount      int64  `protobuf:"varint,7,opt,name=sku_count,json=skuCount,proto3" json:"sku_count"`
	Amount        int64  `protobuf:"varint,8,opt,name=amount,proto3" json:"amount"`
	BuyerCount    int64  `protobuf:"varint,9,opt,name=buyer_count,json=buyerCount,proto3" json:"buyer_count"`
	BeginTime     int64  `protobuf:"varint,10,opt,name=begin_time,json=beginTime,proto3" json:"begin_time"`
	EndTime       int64  `protobuf:"varint,11,opt,name=end_time,json=endTime,proto3" json:"end_time"`
	Status        int16  `protobuf:"varint,12,opt,name=status,proto3,casttype=int16" json:"status"`
	Ctime         int64  `protobuf:"varint,13,opt,name=ctime,proto3" json:"ctime"`
	Mtime         int64  `protobuf:"varint,14,opt,name=mtime,proto3" json:"mtime"`
	PrivSKUID     int64  `protobuf:"varint,15,opt,name=priv_sku_id,json=privSkuId,proto3" json:"priv_sku_id"`
	UsableCoupons string `protobuf:"bytes,16,opt,name=usable_coupons,json=usableCoupons,proto3" json:"usable_coupons"`
}

func (*Promo) Descriptor

func (*Promo) Descriptor() ([]byte, []int)

func (*Promo) Marshal

func (m *Promo) Marshal() (dAtA []byte, err error)

func (*Promo) MarshalTo

func (m *Promo) MarshalTo(dAtA []byte) (int, error)

func (*Promo) ProtoMessage

func (*Promo) ProtoMessage()

func (*Promo) Reset

func (m *Promo) Reset()

func (*Promo) Size

func (m *Promo) Size() (n int)

func (*Promo) String

func (this *Promo) String() string

func (*Promo) Unmarshal

func (m *Promo) Unmarshal(dAtA []byte) error

type PromoGroup

type PromoGroup struct {
	PromoID    int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	GroupID    int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id"`
	UID        int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
	OrderCount int64 `protobuf:"varint,4,opt,name=order_count,json=orderCount,proto3" json:"order_count"`
	Status     int16 `protobuf:"varint,5,opt,name=status,proto3,casttype=int16" json:"status"`
	ExpireAt   int64 `protobuf:"varint,6,opt,name=expire_at,json=expireAt,proto3" json:"expire_at"`
	Ctime      int64 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime"`
	Mtime      int64 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime"`
}

func (*PromoGroup) Descriptor

func (*PromoGroup) Descriptor() ([]byte, []int)

func (*PromoGroup) Marshal

func (m *PromoGroup) Marshal() (dAtA []byte, err error)

func (*PromoGroup) MarshalTo

func (m *PromoGroup) MarshalTo(dAtA []byte) (int, error)

func (*PromoGroup) ProtoMessage

func (*PromoGroup) ProtoMessage()

func (*PromoGroup) Reset

func (m *PromoGroup) Reset()

func (*PromoGroup) Size

func (m *PromoGroup) Size() (n int)

func (*PromoGroup) String

func (this *PromoGroup) String() string

func (*PromoGroup) Unmarshal

func (m *PromoGroup) Unmarshal(dAtA []byte) error

type PromoID

type PromoID struct {
	PromoID int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id" form:"promo_id" validate:"required"`
}

func (*PromoID) Descriptor

func (*PromoID) Descriptor() ([]byte, []int)

func (*PromoID) Marshal

func (m *PromoID) Marshal() (dAtA []byte, err error)

func (*PromoID) MarshalTo

func (m *PromoID) MarshalTo(dAtA []byte) (int, error)

func (*PromoID) ProtoMessage

func (*PromoID) ProtoMessage()

func (*PromoID) Reset

func (m *PromoID) Reset()

func (*PromoID) Size

func (m *PromoID) Size() (n int)

func (*PromoID) String

func (this *PromoID) String() string

func (*PromoID) Unmarshal

func (m *PromoID) Unmarshal(dAtA []byte) error

type PromoOrder

type PromoOrder struct {
	PromoID  int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	GroupID  int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id"`
	OrderID  int64 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id"`
	IsMaster int16 `protobuf:"varint,4,opt,name=is_master,json=isMaster,proto3,casttype=int16" json:"is_master"`
	UID      int64 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid"`
	Status   int16 `protobuf:"varint,6,opt,name=status,proto3,casttype=int16" json:"status"`
	Ctime    int64 `protobuf:"varint,7,opt,name=ctime,proto3" json:"ctime"`
	Mtime    int64 `protobuf:"varint,8,opt,name=mtime,proto3" json:"mtime"`
	SKUID    int64 `protobuf:"varint,9,opt,name=sku_id,json=skuId,proto3" json:"sku_id"`
}

func (*PromoOrder) Descriptor

func (*PromoOrder) Descriptor() ([]byte, []int)

func (*PromoOrder) Marshal

func (m *PromoOrder) Marshal() (dAtA []byte, err error)

func (*PromoOrder) MarshalTo

func (m *PromoOrder) MarshalTo(dAtA []byte) (int, error)

func (*PromoOrder) ProtoMessage

func (*PromoOrder) ProtoMessage()

func (*PromoOrder) Reset

func (m *PromoOrder) Reset()

func (*PromoOrder) Size

func (m *PromoOrder) Size() (n int)

func (*PromoOrder) String

func (this *PromoOrder) String() string

func (*PromoOrder) Unmarshal

func (m *PromoOrder) Unmarshal(dAtA []byte) error

type PromoOrderMis

type PromoOrderMis struct {
	PromoID  int64 `protobuf:"varint,1,opt,name=promo_id,json=promoId,proto3" json:"promo_id"`
	GroupID  int64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id"`
	OrderID  int64 `protobuf:"varint,3,opt,name=order_id,json=orderId,proto3" json:"order_id"`
	IsMaster int16 `protobuf:"varint,4,opt,name=is_master,json=isMaster,proto3,casttype=int16" json:"is_master"`
	UID      int64 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid"`
	Status   int16 `protobuf:"varint,6,opt,name=status,proto3,casttype=int16" json:"status"`
	PayTime  int64 `protobuf:"varint,7,opt,name=pay_time,json=payTime,proto3" json:"pay_time"`
	Ctime    int64 `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime"`
	SKUID    int64 `protobuf:"varint,9,opt,name=sku_id,json=skuId,proto3" json:"sku_id"`
}

func (*PromoOrderMis) Descriptor

func (*PromoOrderMis) Descriptor() ([]byte, []int)

func (*PromoOrderMis) Marshal

func (m *PromoOrderMis) Marshal() (dAtA []byte, err error)

func (*PromoOrderMis) MarshalTo

func (m *PromoOrderMis) MarshalTo(dAtA []byte) (int, error)

func (*PromoOrderMis) ProtoMessage

func (*PromoOrderMis) ProtoMessage()

func (*PromoOrderMis) Reset

func (m *PromoOrderMis) Reset()

func (*PromoOrderMis) Size

func (m *PromoOrderMis) Size() (n int)

func (*PromoOrderMis) String

func (this *PromoOrderMis) String() string

func (*PromoOrderMis) Unmarshal

func (m *PromoOrderMis) Unmarshal(dAtA []byte) error

type PromotionClient

type PromotionClient interface {
	CreatePromo(ctx context.Context, in *CreatePromoRequest, opts ...grpc.CallOption) (*PromoID, error)
	GetPromo(ctx context.Context, in *PromoID, opts ...grpc.CallOption) (*Promo, error)
	OperatePromo(ctx context.Context, in *OperatePromoRequest, opts ...grpc.CallOption) (*CommonResponse, error)
	EditPromo(ctx context.Context, in *EditPromoRequest, opts ...grpc.CallOption) (*CommonResponse, error)
	GetPromoGroupInfo(ctx context.Context, in *GetPromoGroupInfoRequest, opts ...grpc.CallOption) (*GetPromoGroupInfoResponse, error)
	GroupFailed(ctx context.Context, in *GroupFailedRequest, opts ...grpc.CallOption) (*GroupID, error)
	CheckCreateStatus(ctx context.Context, in *CheckCreatePromoOrderRequest, opts ...grpc.CallOption) (*CheckCreatePromoOrderResponse, error)
	CreatePromoOrder(ctx context.Context, in *CreatePromoOrderRequest, opts ...grpc.CallOption) (*OrderID, error)
	PromoPayNotify(ctx context.Context, in *OrderID, opts ...grpc.CallOption) (*OrderID, error)
	CancelOrder(ctx context.Context, in *OrderID, opts ...grpc.CallOption) (*OrderID, error)
	CheckIssue(ctx context.Context, in *OrderID, opts ...grpc.CallOption) (*CheckIssueResponse, error)
	FinishIssue(ctx context.Context, in *FinishIssueRequest, opts ...grpc.CallOption) (*GroupID, error)
	PromoRefundNotify(ctx context.Context, in *OrderID, opts ...grpc.CallOption) (*OrderID, error)
}

func NewPromotionClient

func NewPromotionClient(cc *grpc.ClientConn) PromotionClient

type PromotionMisClient

type PromotionMisClient interface {
	GetGroupOrdersMis(ctx context.Context, in *GetGroupOrdersMisRequest, opts ...grpc.CallOption) (*GetGroupOrdersMisResponse, error)
}

func NewPromotionMisClient

func NewPromotionMisClient(cc *grpc.ClientConn) PromotionMisClient

type PromotionMisServer

type PromotionMisServer interface {
	GetGroupOrdersMis(context.Context, *GetGroupOrdersMisRequest) (*GetGroupOrdersMisResponse, error)
}

type RepeatOrder

type RepeatOrder struct {
	OrderID  int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id"`
	IsMaster int16 `protobuf:"varint,2,opt,name=is_master,json=isMaster,proto3,casttype=int16" json:"is_master"`
	Status   int16 `protobuf:"varint,3,opt,name=status,proto3,casttype=int16" json:"status"`
}

func (*RepeatOrder) Descriptor

func (*RepeatOrder) Descriptor() ([]byte, []int)

func (*RepeatOrder) Marshal

func (m *RepeatOrder) Marshal() (dAtA []byte, err error)

func (*RepeatOrder) MarshalTo

func (m *RepeatOrder) MarshalTo(dAtA []byte) (int, error)

func (*RepeatOrder) ProtoMessage

func (*RepeatOrder) ProtoMessage()

func (*RepeatOrder) Reset

func (m *RepeatOrder) Reset()

func (*RepeatOrder) Size

func (m *RepeatOrder) Size() (n int)

func (*RepeatOrder) String

func (this *RepeatOrder) String() string

func (*RepeatOrder) Unmarshal

func (m *RepeatOrder) Unmarshal(dAtA []byte) error

type TicketClient

type TicketClient interface {
	// 查询电子票详情 - 支持根据订单号查询、场次 + uid 查询、票 id 查询
	TicketView(ctx context.Context, in *TicketViewRequest, opts ...grpc.CallOption) (*TicketViewResponse, error)
	// 查询赠票信息
	TicketSend(ctx context.Context, in *TicketSendRequest, opts ...grpc.CallOption) (*TicketSendResponse, error)
}

func NewTicketClient

func NewTicketClient(cc *grpc.ClientConn) TicketClient

type TicketItem

type TicketItem struct {
	ID              int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	UID             int64                       `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	OID             int64                       `protobuf:"varint,3,opt,name=oid,proto3" json:"oid,omitempty"`
	SID             int64                       `protobuf:"varint,4,opt,name=sid,proto3" json:"sid,omitempty"`
	Price           int64                       `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"`
	Src             int16                       `protobuf:"varint,6,opt,name=src,proto3,casttype=int16" json:"src,omitempty"`
	Type            int16                       `protobuf:"varint,7,opt,name=type,proto3,casttype=int16" json:"type,omitempty"`
	Status          int16                       `protobuf:"varint,8,opt,name=status,proto3,casttype=int16" json:"status,omitempty"`
	Qr              string                      `protobuf:"bytes,9,opt,name=qr,proto3" json:"qr,omitempty"`
	RefID           int64                       `protobuf:"varint,10,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
	SkuID           int64                       `protobuf:"varint,11,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	SeatID          int64                       `protobuf:"varint,12,opt,name=seat_id,json=seatId,proto3" json:"seat_id,omitempty"`
	Seat            string                      `protobuf:"bytes,13,opt,name=seat,proto3" json:"seat,omitempty"`
	RefundApplyTime go_common_library_time.Time `` /* 147-byte string literal not displayed */
	ETime           go_common_library_time.Time `protobuf:"varint,15,opt,name=etime,proto3,casttype=go-common/library/time.Time" json:"etime,omitempty"`
	CTime           go_common_library_time.Time `protobuf:"varint,16,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime,omitempty"`
	MTime           go_common_library_time.Time `protobuf:"varint,17,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"`
}

func (*TicketItem) Descriptor

func (*TicketItem) Descriptor() ([]byte, []int)

func (*TicketItem) Marshal

func (m *TicketItem) Marshal() (dAtA []byte, err error)

func (*TicketItem) MarshalTo

func (m *TicketItem) MarshalTo(dAtA []byte) (int, error)

func (*TicketItem) ProtoMessage

func (*TicketItem) ProtoMessage()

func (*TicketItem) Reset

func (m *TicketItem) Reset()

func (*TicketItem) Size

func (m *TicketItem) Size() (n int)

func (*TicketItem) String

func (this *TicketItem) String() string

func (*TicketItem) Unmarshal

func (m *TicketItem) Unmarshal(dAtA []byte) error

type TicketSendItem

type TicketSendItem struct {
	ID      int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SID     int64                       `protobuf:"varint,2,opt,name=sid,proto3" json:"sid,omitempty"`
	SendTID int64                       `protobuf:"varint,3,opt,name=send_tid,json=sendTid,proto3" json:"send_tid,omitempty"`
	RecvTID int64                       `protobuf:"varint,4,opt,name=recv_tid,json=recvTid,proto3" json:"recv_tid,omitempty"`
	SendUID int64                       `protobuf:"varint,5,opt,name=send_uid,json=sendUid,proto3" json:"send_uid,omitempty"`
	RecvUID int64                       `protobuf:"varint,6,opt,name=recv_uid,json=recvUid,proto3" json:"recv_uid,omitempty"`
	RecvTel string                      `protobuf:"bytes,7,opt,name=recv_tel,json=recvTel,proto3" json:"recv_tel,omitempty"`
	Status  int16                       `protobuf:"varint,8,opt,name=status,proto3,casttype=int16" json:"status,omitempty"`
	CTime   go_common_library_time.Time `protobuf:"varint,9,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime,omitempty"`
	MTime   go_common_library_time.Time `protobuf:"varint,10,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"mtime,omitempty"`
	OID     int64                       `protobuf:"varint,11,opt,name=oid,proto3" json:"oid,omitempty"`
}

func (*TicketSendItem) Descriptor

func (*TicketSendItem) Descriptor() ([]byte, []int)

func (*TicketSendItem) Marshal

func (m *TicketSendItem) Marshal() (dAtA []byte, err error)

func (*TicketSendItem) MarshalTo

func (m *TicketSendItem) MarshalTo(dAtA []byte) (int, error)

func (*TicketSendItem) ProtoMessage

func (*TicketSendItem) ProtoMessage()

func (*TicketSendItem) Reset

func (m *TicketSendItem) Reset()

func (*TicketSendItem) Size

func (m *TicketSendItem) Size() (n int)

func (*TicketSendItem) String

func (this *TicketSendItem) String() string

func (*TicketSendItem) Unmarshal

func (m *TicketSendItem) Unmarshal(dAtA []byte) error

type TicketSendRequest

type TicketSendRequest struct {
	SendTID []int64 `protobuf:"varint,1,rep,packed,name=send_tid,json=sendTid" json:"send_tid,omitempty"`
	RecvTID []int64 `protobuf:"varint,2,rep,packed,name=recv_tid,json=recvTid" json:"recv_tid,omitempty"`
}

func (*TicketSendRequest) Descriptor

func (*TicketSendRequest) Descriptor() ([]byte, []int)

func (*TicketSendRequest) Marshal

func (m *TicketSendRequest) Marshal() (dAtA []byte, err error)

func (*TicketSendRequest) MarshalTo

func (m *TicketSendRequest) MarshalTo(dAtA []byte) (int, error)

func (*TicketSendRequest) ProtoMessage

func (*TicketSendRequest) ProtoMessage()

func (*TicketSendRequest) Reset

func (m *TicketSendRequest) Reset()

func (*TicketSendRequest) Size

func (m *TicketSendRequest) Size() (n int)

func (*TicketSendRequest) String

func (this *TicketSendRequest) String() string

func (*TicketSendRequest) Unmarshal

func (m *TicketSendRequest) Unmarshal(dAtA []byte) error

type TicketSendResponse

type TicketSendResponse struct {
	TicketSends []*TicketSendItem `protobuf:"bytes,1,rep,name=ticket_sends,json=ticketSends" json:"ticket_sends,omitempty"`
}

func (*TicketSendResponse) Descriptor

func (*TicketSendResponse) Descriptor() ([]byte, []int)

func (*TicketSendResponse) Marshal

func (m *TicketSendResponse) Marshal() (dAtA []byte, err error)

func (*TicketSendResponse) MarshalTo

func (m *TicketSendResponse) MarshalTo(dAtA []byte) (int, error)

func (*TicketSendResponse) ProtoMessage

func (*TicketSendResponse) ProtoMessage()

func (*TicketSendResponse) Reset

func (m *TicketSendResponse) Reset()

func (*TicketSendResponse) Size

func (m *TicketSendResponse) Size() (n int)

func (*TicketSendResponse) String

func (this *TicketSendResponse) String() string

func (*TicketSendResponse) Unmarshal

func (m *TicketSendResponse) Unmarshal(dAtA []byte) error

type TicketServer

type TicketServer interface {
	// 查询电子票详情 - 支持根据订单号查询、场次 + uid 查询、票 id 查询
	TicketView(context.Context, *TicketViewRequest) (*TicketViewResponse, error)
	// 查询赠票信息
	TicketSend(context.Context, *TicketSendRequest) (*TicketSendResponse, error)
}

type TicketViewRequest

type TicketViewRequest struct {
	OrderID  int64   `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	UID      int64   `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	ScreenID int64   `protobuf:"varint,3,opt,name=screen_id,json=screenId,proto3" json:"screen_id,omitempty"`
	ID       []int64 `protobuf:"varint,4,rep,packed,name=id" json:"id,omitempty"`
}

func (*TicketViewRequest) Descriptor

func (*TicketViewRequest) Descriptor() ([]byte, []int)

func (*TicketViewRequest) Marshal

func (m *TicketViewRequest) Marshal() (dAtA []byte, err error)

func (*TicketViewRequest) MarshalTo

func (m *TicketViewRequest) MarshalTo(dAtA []byte) (int, error)

func (*TicketViewRequest) ProtoMessage

func (*TicketViewRequest) ProtoMessage()

func (*TicketViewRequest) Reset

func (m *TicketViewRequest) Reset()

func (*TicketViewRequest) Size

func (m *TicketViewRequest) Size() (n int)

func (*TicketViewRequest) String

func (this *TicketViewRequest) String() string

func (*TicketViewRequest) Unmarshal

func (m *TicketViewRequest) Unmarshal(dAtA []byte) error

type TicketViewResponse

type TicketViewResponse struct {
	Tickets []*TicketItem `protobuf:"bytes,1,rep,name=tickets" json:"tickets,omitempty"`
}

func (*TicketViewResponse) Descriptor

func (*TicketViewResponse) Descriptor() ([]byte, []int)

func (*TicketViewResponse) Marshal

func (m *TicketViewResponse) Marshal() (dAtA []byte, err error)

func (*TicketViewResponse) MarshalTo

func (m *TicketViewResponse) MarshalTo(dAtA []byte) (int, error)

func (*TicketViewResponse) ProtoMessage

func (*TicketViewResponse) ProtoMessage()

func (*TicketViewResponse) Reset

func (m *TicketViewResponse) Reset()

func (*TicketViewResponse) Size

func (m *TicketViewResponse) Size() (n int)

func (*TicketViewResponse) String

func (this *TicketViewResponse) String() string

func (*TicketViewResponse) Unmarshal

func (m *TicketViewResponse) Unmarshal(dAtA []byte) error

type TradeClient

type TradeClient interface {
	ListOrders(ctx context.Context, in *ListOrdersRequest, opts ...grpc.CallOption) (*ListOrdersResponse, error)
	CreateOrders(ctx context.Context, in *CreateOrdersRequest, opts ...grpc.CallOption) (*CreateOrdersResponse, error)
	UpdateBuyer(ctx context.Context, in *UpBuyerRequest, opts ...grpc.CallOption) (*UpDetailResponse, error)
	UpdateDelivery(ctx context.Context, in *UpDeliveryRequest, opts ...grpc.CallOption) (*UpDetailResponse, error)
	ListOrderLogs(ctx context.Context, in *ListOrderLogRequest, opts ...grpc.CallOption) (*ListOrderLogResponse, error)
	AddOrderLogs(ctx context.Context, in *AddOrderLogRequest, opts ...grpc.CallOption) (*AddOrderLogResponse, error)
}

func NewTradeClient

func NewTradeClient(cc *grpc.ClientConn) TradeClient

type TradeSalesClient

type TradeSalesClient interface {
	TradeClient
	PromotionClient
}

TradeSalesClient .

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (TradeSalesClient, error)

NewClient include TradeClient adn SalesClient

type UpBuyerRequest

type UpBuyerRequest struct {
	OrderID int64                               `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	Buyers  *ticket_service_sales_v1.OrderBuyer `protobuf:"bytes,2,opt,name=buyers" json:"buyers,omitempty"`
}

UpBuyerRequest 更新购买人信息

func (*UpBuyerRequest) Descriptor

func (*UpBuyerRequest) Descriptor() ([]byte, []int)

func (*UpBuyerRequest) Marshal

func (m *UpBuyerRequest) Marshal() (dAtA []byte, err error)

func (*UpBuyerRequest) MarshalTo

func (m *UpBuyerRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpBuyerRequest) ProtoMessage

func (*UpBuyerRequest) ProtoMessage()

func (*UpBuyerRequest) Reset

func (m *UpBuyerRequest) Reset()

func (*UpBuyerRequest) Size

func (m *UpBuyerRequest) Size() (n int)

func (*UpBuyerRequest) String

func (this *UpBuyerRequest) String() string

func (*UpBuyerRequest) Unmarshal

func (m *UpBuyerRequest) Unmarshal(dAtA []byte) error

type UpDeliveryRequest

type UpDeliveryRequest struct {
	OrderID       int64                                 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	DeliverDetail *ticket_service_sales_v1.OrderDeliver `protobuf:"bytes,2,opt,name=deliver_detail,json=deliverDetail" json:"deliver_detail"`
}

UpDeliveryRequest 更新配送信息

func (*UpDeliveryRequest) Descriptor

func (*UpDeliveryRequest) Descriptor() ([]byte, []int)

func (*UpDeliveryRequest) Marshal

func (m *UpDeliveryRequest) Marshal() (dAtA []byte, err error)

func (*UpDeliveryRequest) MarshalTo

func (m *UpDeliveryRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpDeliveryRequest) ProtoMessage

func (*UpDeliveryRequest) ProtoMessage()

func (*UpDeliveryRequest) Reset

func (m *UpDeliveryRequest) Reset()

func (*UpDeliveryRequest) Size

func (m *UpDeliveryRequest) Size() (n int)

func (*UpDeliveryRequest) String

func (this *UpDeliveryRequest) String() string

func (*UpDeliveryRequest) Unmarshal

func (m *UpDeliveryRequest) Unmarshal(dAtA []byte) error

type UpDetailResponse

type UpDetailResponse struct {
	OrderID  int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	IsUpdate int16 `protobuf:"varint,2,opt,name=is_update,json=isUpdate,proto3,casttype=int16" json:"update"`
}

UpDetailResponse 更新返回数据

func (*UpDetailResponse) Descriptor

func (*UpDetailResponse) Descriptor() ([]byte, []int)

func (*UpDetailResponse) Marshal

func (m *UpDetailResponse) Marshal() (dAtA []byte, err error)

func (*UpDetailResponse) MarshalTo

func (m *UpDetailResponse) MarshalTo(dAtA []byte) (int, error)

func (*UpDetailResponse) ProtoMessage

func (*UpDetailResponse) ProtoMessage()

func (*UpDetailResponse) Reset

func (m *UpDetailResponse) Reset()

func (*UpDetailResponse) Size

func (m *UpDetailResponse) Size() (n int)

func (*UpDetailResponse) String

func (this *UpDetailResponse) String() string

func (*UpDetailResponse) Unmarshal

func (m *UpDetailResponse) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL