470 lines
15 KiB
Go
470 lines
15 KiB
Go
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|||
|
|
// versions:
|
|||
|
|
// protoc-gen-go v1.36.6
|
|||
|
|
// protoc (unknown)
|
|||
|
|
// source: mgt.proto
|
|||
|
|
|
|||
|
|
package order
|
|||
|
|
|
|||
|
|
import (
|
|||
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|||
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|||
|
|
reflect "reflect"
|
|||
|
|
sync "sync"
|
|||
|
|
unsafe "unsafe"
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
const (
|
|||
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|||
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|||
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|||
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
type CreateOrderRequest struct {
|
|||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|||
|
|
PartnerId int32 `protobuf:"varint,1,opt,name=partner_id,proto3" json:"partner_id,omitempty"` // 合伙人ID
|
|||
|
|
Args string `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` // 相关参数
|
|||
|
|
AddressIdentity string `protobuf:"bytes,3,opt,name=address_identity,proto3" json:"address_identity,omitempty"` // 地址库唯一标识
|
|||
|
|
DeliveryTime string `protobuf:"bytes,4,opt,name=delivery_time,proto3" json:"delivery_time,omitempty"` // 预约配送时间
|
|||
|
|
Spec []*SpecList `protobuf:"bytes,5,rep,name=spec,proto3" json:"spec,omitempty"`
|
|||
|
|
unknownFields protoimpl.UnknownFields
|
|||
|
|
sizeCache protoimpl.SizeCache
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) Reset() {
|
|||
|
|
*x = CreateOrderRequest{}
|
|||
|
|
mi := &file_mgt_proto_msgTypes[0]
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) String() string {
|
|||
|
|
return protoimpl.X.MessageStringOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (*CreateOrderRequest) ProtoMessage() {}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message {
|
|||
|
|
mi := &file_mgt_proto_msgTypes[0]
|
|||
|
|
if x != nil {
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
if ms.LoadMessageInfo() == nil {
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
return ms
|
|||
|
|
}
|
|||
|
|
return mi.MessageOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.
|
|||
|
|
func (*CreateOrderRequest) Descriptor() ([]byte, []int) {
|
|||
|
|
return file_mgt_proto_rawDescGZIP(), []int{0}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) GetPartnerId() int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.PartnerId
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) GetArgs() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Args
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) GetAddressIdentity() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.AddressIdentity
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) GetDeliveryTime() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.DeliveryTime
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *CreateOrderRequest) GetSpec() []*SpecList {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Spec
|
|||
|
|
}
|
|||
|
|
return nil
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type SpecList struct {
|
|||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|||
|
|
Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` // 数量
|
|||
|
|
ProductIdentity string `protobuf:"bytes,2,opt,name=product_identity,proto3" json:"product_identity,omitempty"` // 商品唯一标识
|
|||
|
|
unknownFields protoimpl.UnknownFields
|
|||
|
|
sizeCache protoimpl.SizeCache
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *SpecList) Reset() {
|
|||
|
|
*x = SpecList{}
|
|||
|
|
mi := &file_mgt_proto_msgTypes[1]
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *SpecList) String() string {
|
|||
|
|
return protoimpl.X.MessageStringOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (*SpecList) ProtoMessage() {}
|
|||
|
|
|
|||
|
|
func (x *SpecList) ProtoReflect() protoreflect.Message {
|
|||
|
|
mi := &file_mgt_proto_msgTypes[1]
|
|||
|
|
if x != nil {
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
if ms.LoadMessageInfo() == nil {
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
return ms
|
|||
|
|
}
|
|||
|
|
return mi.MessageOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Deprecated: Use SpecList.ProtoReflect.Descriptor instead.
|
|||
|
|
func (*SpecList) Descriptor() ([]byte, []int) {
|
|||
|
|
return file_mgt_proto_rawDescGZIP(), []int{1}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *SpecList) GetNumber() int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Number
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *SpecList) GetProductIdentity() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.ProductIdentity
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type OrderGetReply struct {
|
|||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|||
|
|
Summary *OrderSummaryItem `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // 订单概要详情
|
|||
|
|
unknownFields protoimpl.UnknownFields
|
|||
|
|
sizeCache protoimpl.SizeCache
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderGetReply) Reset() {
|
|||
|
|
*x = OrderGetReply{}
|
|||
|
|
mi := &file_mgt_proto_msgTypes[2]
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderGetReply) String() string {
|
|||
|
|
return protoimpl.X.MessageStringOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (*OrderGetReply) ProtoMessage() {}
|
|||
|
|
|
|||
|
|
func (x *OrderGetReply) ProtoReflect() protoreflect.Message {
|
|||
|
|
mi := &file_mgt_proto_msgTypes[2]
|
|||
|
|
if x != nil {
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
if ms.LoadMessageInfo() == nil {
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
return ms
|
|||
|
|
}
|
|||
|
|
return mi.MessageOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Deprecated: Use OrderGetReply.ProtoReflect.Descriptor instead.
|
|||
|
|
func (*OrderGetReply) Descriptor() ([]byte, []int) {
|
|||
|
|
return file_mgt_proto_rawDescGZIP(), []int{2}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderGetReply) GetSummary() *OrderSummaryItem {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Summary
|
|||
|
|
}
|
|||
|
|
return nil
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type OrderListByStoreRequest struct {
|
|||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|||
|
|
PayType int32 `protobuf:"varint,1,opt,name=pay_type,proto3" json:"pay_type,omitempty"` // 支付类型:0:待支付,1:线下支付,2:微信 3:支付宝,4:余额
|
|||
|
|
OrderStatus []int32 `protobuf:"varint,2,rep,packed,name=order_status,proto3" json:"order_status,omitempty"` // 订单状态 1:未支付 2:已支付 3:已发货 4:已收货 5:已完成 6:已收货退款 7:未发货退款 8:已退货 -1:已取消
|
|||
|
|
PageNo int64 `protobuf:"varint,3,opt,name=page_no,proto3" json:"page_no,omitempty"` // 页数
|
|||
|
|
PageSize int64 `protobuf:"varint,4,opt,name=page_size,proto3" json:"page_size,omitempty"` // 每页记录数
|
|||
|
|
PartnerId int64 `protobuf:"varint,5,opt,name=partner_id,proto3" json:"partner_id,omitempty"` // 分销商ID
|
|||
|
|
Agency string `protobuf:"bytes,6,opt,name=agency,proto3" json:"agency,omitempty"` // 代理
|
|||
|
|
StoreIdentity string `protobuf:"bytes,7,opt,name=store_identity,json=storeIdentity,proto3" json:"store_identity,omitempty"` // 店铺标识
|
|||
|
|
Status int32 `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"` // 订单状态
|
|||
|
|
Keyword string `protobuf:"bytes,9,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键字
|
|||
|
|
unknownFields protoimpl.UnknownFields
|
|||
|
|
sizeCache protoimpl.SizeCache
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) Reset() {
|
|||
|
|
*x = OrderListByStoreRequest{}
|
|||
|
|
mi := &file_mgt_proto_msgTypes[3]
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) String() string {
|
|||
|
|
return protoimpl.X.MessageStringOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (*OrderListByStoreRequest) ProtoMessage() {}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) ProtoReflect() protoreflect.Message {
|
|||
|
|
mi := &file_mgt_proto_msgTypes[3]
|
|||
|
|
if x != nil {
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
if ms.LoadMessageInfo() == nil {
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
return ms
|
|||
|
|
}
|
|||
|
|
return mi.MessageOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Deprecated: Use OrderListByStoreRequest.ProtoReflect.Descriptor instead.
|
|||
|
|
func (*OrderListByStoreRequest) Descriptor() ([]byte, []int) {
|
|||
|
|
return file_mgt_proto_rawDescGZIP(), []int{3}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetPayType() int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.PayType
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetOrderStatus() []int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.OrderStatus
|
|||
|
|
}
|
|||
|
|
return nil
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetPageNo() int64 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.PageNo
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetPageSize() int64 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.PageSize
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetPartnerId() int64 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.PartnerId
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetAgency() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Agency
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetStoreIdentity() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.StoreIdentity
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetStatus() int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Status
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreRequest) GetKeyword() string {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Keyword
|
|||
|
|
}
|
|||
|
|
return ""
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
type OrderListByStoreReply struct {
|
|||
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|||
|
|
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|||
|
|
Data []*OrderSummaryItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 订单列表
|
|||
|
|
unknownFields protoimpl.UnknownFields
|
|||
|
|
sizeCache protoimpl.SizeCache
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreReply) Reset() {
|
|||
|
|
*x = OrderListByStoreReply{}
|
|||
|
|
mi := &file_mgt_proto_msgTypes[4]
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreReply) String() string {
|
|||
|
|
return protoimpl.X.MessageStringOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (*OrderListByStoreReply) ProtoMessage() {}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreReply) ProtoReflect() protoreflect.Message {
|
|||
|
|
mi := &file_mgt_proto_msgTypes[4]
|
|||
|
|
if x != nil {
|
|||
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|||
|
|
if ms.LoadMessageInfo() == nil {
|
|||
|
|
ms.StoreMessageInfo(mi)
|
|||
|
|
}
|
|||
|
|
return ms
|
|||
|
|
}
|
|||
|
|
return mi.MessageOf(x)
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
// Deprecated: Use OrderListByStoreReply.ProtoReflect.Descriptor instead.
|
|||
|
|
func (*OrderListByStoreReply) Descriptor() ([]byte, []int) {
|
|||
|
|
return file_mgt_proto_rawDescGZIP(), []int{4}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreReply) GetCount() int32 {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Count
|
|||
|
|
}
|
|||
|
|
return 0
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func (x *OrderListByStoreReply) GetData() []*OrderSummaryItem {
|
|||
|
|
if x != nil {
|
|||
|
|
return x.Data
|
|||
|
|
}
|
|||
|
|
return nil
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var File_mgt_proto protoreflect.FileDescriptor
|
|||
|
|
|
|||
|
|
const file_mgt_proto_rawDesc = "" +
|
|||
|
|
"\n" +
|
|||
|
|
"\x12ec/order/mgt.proto\x12\x05order\x1a\x12order/blocks.proto\"\xbf\x01\n" +
|
|||
|
|
"\x12CreateOrderRequest\x12\x1e\n" +
|
|||
|
|
"\n" +
|
|||
|
|
"partner_id\x18\x01 \x01(\x05R\n" +
|
|||
|
|
"partner_id\x12\x12\n" +
|
|||
|
|
"\x04args\x18\x02 \x01(\tR\x04args\x12*\n" +
|
|||
|
|
"\x10address_identity\x18\x03 \x01(\tR\x10address_identity\x12$\n" +
|
|||
|
|
"\rdelivery_time\x18\x04 \x01(\tR\rdelivery_time\x12#\n" +
|
|||
|
|
"\x04spec\x18\x05 \x03(\v2\x0f.order.SpecListR\x04spec\"N\n" +
|
|||
|
|
"\bSpecList\x12\x16\n" +
|
|||
|
|
"\x06number\x18\x01 \x01(\x05R\x06number\x12*\n" +
|
|||
|
|
"\x10product_identity\x18\x02 \x01(\tR\x10product_identity\"B\n" +
|
|||
|
|
"\rOrderGetReply\x121\n" +
|
|||
|
|
"\asummary\x18\x01 \x01(\v2\x17.order.OrderSummaryItemR\asummary\"\xa2\x02\n" +
|
|||
|
|
"\x17OrderListByStoreRequest\x12\x1a\n" +
|
|||
|
|
"\bpay_type\x18\x01 \x01(\x05R\bpay_type\x12\"\n" +
|
|||
|
|
"\forder_status\x18\x02 \x03(\x05R\forder_status\x12\x18\n" +
|
|||
|
|
"\apage_no\x18\x03 \x01(\x03R\apage_no\x12\x1c\n" +
|
|||
|
|
"\tpage_size\x18\x04 \x01(\x03R\tpage_size\x12\x1e\n" +
|
|||
|
|
"\n" +
|
|||
|
|
"partner_id\x18\x05 \x01(\x03R\n" +
|
|||
|
|
"partner_id\x12\x16\n" +
|
|||
|
|
"\x06agency\x18\x06 \x01(\tR\x06agency\x12%\n" +
|
|||
|
|
"\x0estore_identity\x18\a \x01(\tR\rstoreIdentity\x12\x16\n" +
|
|||
|
|
"\x06status\x18\b \x01(\x05R\x06status\x12\x18\n" +
|
|||
|
|
"\akeyword\x18\t \x01(\tR\akeyword\"Z\n" +
|
|||
|
|
"\x15OrderListByStoreReply\x12\x14\n" +
|
|||
|
|
"\x05count\x18\x01 \x01(\x05R\x05count\x12+\n" +
|
|||
|
|
"\x04data\x18\x02 \x03(\v2\x17.order.OrderSummaryItemR\x04data2\xc3\x03\n" +
|
|||
|
|
"\x03Mgt\x12>\n" +
|
|||
|
|
"\vOrderCreate\x12\x19.order.CreateOrderRequest\x1a\x12.order.StatusReply\"\x00\x12<\n" +
|
|||
|
|
"\vOrderModify\x12\x17.order.OrderSummaryItem\x1a\x12.order.StatusReply\"\x00\x127\n" +
|
|||
|
|
"\bOrderGet\x12\x13.order.IdentRequest\x1a\x14.order.OrderGetReply\"\x00\x12R\n" +
|
|||
|
|
"\x10OrderListByStore\x12\x1e.order.OrderListByStoreRequest\x1a\x1c.order.OrderListByStoreReply\"\x00\x128\n" +
|
|||
|
|
"\vOrderCancel\x12\x13.order.IdentRequest\x1a\x12.order.StatusReply\"\x00\x12<\n" +
|
|||
|
|
"\x0fOrderReturnable\x12\x13.order.IdentRequest\x1a\x12.order.StatusReply\"\x00\x129\n" +
|
|||
|
|
"\fOrderApprove\x12\x13.order.IdentRequest\x1a\x12.order.StatusReply\"\x00B\tZ\a./orderb\x06proto3"
|
|||
|
|
|
|||
|
|
var (
|
|||
|
|
file_mgt_proto_rawDescOnce sync.Once
|
|||
|
|
file_mgt_proto_rawDescData []byte
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
func file_mgt_proto_rawDescGZIP() []byte {
|
|||
|
|
file_mgt_proto_rawDescOnce.Do(func() {
|
|||
|
|
file_mgt_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_mgt_proto_rawDesc), len(file_mgt_proto_rawDesc)))
|
|||
|
|
})
|
|||
|
|
return file_mgt_proto_rawDescData
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
var file_mgt_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|||
|
|
var file_mgt_proto_goTypes = []any{
|
|||
|
|
(*CreateOrderRequest)(nil), // 0: order.CreateOrderRequest
|
|||
|
|
(*SpecList)(nil), // 1: order.SpecList
|
|||
|
|
(*OrderGetReply)(nil), // 2: order.OrderGetReply
|
|||
|
|
(*OrderListByStoreRequest)(nil), // 3: order.OrderListByStoreRequest
|
|||
|
|
(*OrderListByStoreReply)(nil), // 4: order.OrderListByStoreReply
|
|||
|
|
(*OrderSummaryItem)(nil), // 5: order.OrderSummaryItem
|
|||
|
|
(*IdentRequest)(nil), // 6: order.IdentRequest
|
|||
|
|
(*StatusReply)(nil), // 7: order.StatusReply
|
|||
|
|
}
|
|||
|
|
var file_mgt_proto_depIdxs = []int32{
|
|||
|
|
1, // 0: order.CreateOrderRequest.spec:type_name -> order.SpecList
|
|||
|
|
5, // 1: order.OrderGetReply.summary:type_name -> order.OrderSummaryItem
|
|||
|
|
5, // 2: order.OrderListByStoreReply.data:type_name -> order.OrderSummaryItem
|
|||
|
|
0, // 3: order.Mgt.OrderCreate:input_type -> order.CreateOrderRequest
|
|||
|
|
5, // 4: order.Mgt.OrderModify:input_type -> order.OrderSummaryItem
|
|||
|
|
6, // 5: order.Mgt.OrderGet:input_type -> order.IdentRequest
|
|||
|
|
3, // 6: order.Mgt.OrderListByStore:input_type -> order.OrderListByStoreRequest
|
|||
|
|
6, // 7: order.Mgt.OrderCancel:input_type -> order.IdentRequest
|
|||
|
|
6, // 8: order.Mgt.OrderReturnable:input_type -> order.IdentRequest
|
|||
|
|
6, // 9: order.Mgt.OrderApprove:input_type -> order.IdentRequest
|
|||
|
|
7, // 10: order.Mgt.OrderCreate:output_type -> order.StatusReply
|
|||
|
|
7, // 11: order.Mgt.OrderModify:output_type -> order.StatusReply
|
|||
|
|
2, // 12: order.Mgt.OrderGet:output_type -> order.OrderGetReply
|
|||
|
|
4, // 13: order.Mgt.OrderListByStore:output_type -> order.OrderListByStoreReply
|
|||
|
|
7, // 14: order.Mgt.OrderCancel:output_type -> order.StatusReply
|
|||
|
|
7, // 15: order.Mgt.OrderReturnable:output_type -> order.StatusReply
|
|||
|
|
7, // 16: order.Mgt.OrderApprove:output_type -> order.StatusReply
|
|||
|
|
10, // [10:17] is the sub-list for method output_type
|
|||
|
|
3, // [3:10] is the sub-list for method input_type
|
|||
|
|
3, // [3:3] is the sub-list for extension type_name
|
|||
|
|
3, // [3:3] is the sub-list for extension extendee
|
|||
|
|
0, // [0:3] is the sub-list for field type_name
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
func init() { file_mgt_proto_init() }
|
|||
|
|
func file_mgt_proto_init() {
|
|||
|
|
if File_mgt_proto != nil {
|
|||
|
|
return
|
|||
|
|
}
|
|||
|
|
file_blocks_proto_init()
|
|||
|
|
type x struct{}
|
|||
|
|
out := protoimpl.TypeBuilder{
|
|||
|
|
File: protoimpl.DescBuilder{
|
|||
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|||
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_mgt_proto_rawDesc), len(file_mgt_proto_rawDesc)),
|
|||
|
|
NumEnums: 0,
|
|||
|
|
NumMessages: 5,
|
|||
|
|
NumExtensions: 0,
|
|||
|
|
NumServices: 1,
|
|||
|
|
},
|
|||
|
|
GoTypes: file_mgt_proto_goTypes,
|
|||
|
|
DependencyIndexes: file_mgt_proto_depIdxs,
|
|||
|
|
MessageInfos: file_mgt_proto_msgTypes,
|
|||
|
|
}.Build()
|
|||
|
|
File_mgt_proto = out.File
|
|||
|
|
file_mgt_proto_goTypes = nil
|
|||
|
|
file_mgt_proto_depIdxs = nil
|
|||
|
|
}
|