refactor: centralize protobuf and remove go-zero
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.6
|
||||
// protoc (unknown)
|
||||
// source: summary.proto
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v7.35.0
|
||||
// source: module/ec/order/proto/summary.proto
|
||||
|
||||
package order
|
||||
|
||||
import (
|
||||
protobuf "bsm/full/protobuf"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
@@ -33,7 +34,7 @@ type SimulateShipmentsRequest struct {
|
||||
|
||||
func (x *SimulateShipmentsRequest) Reset() {
|
||||
*x = SimulateShipmentsRequest{}
|
||||
mi := &file_summary_proto_msgTypes[0]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -45,7 +46,7 @@ func (x *SimulateShipmentsRequest) String() string {
|
||||
func (*SimulateShipmentsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SimulateShipmentsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[0]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -58,7 +59,7 @@ func (x *SimulateShipmentsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SimulateShipmentsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SimulateShipmentsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{0}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *SimulateShipmentsRequest) GetIdentity() string {
|
||||
@@ -101,7 +102,7 @@ type SubmitReply struct {
|
||||
|
||||
func (x *SubmitReply) Reset() {
|
||||
*x = SubmitReply{}
|
||||
mi := &file_summary_proto_msgTypes[1]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -113,7 +114,7 @@ func (x *SubmitReply) String() string {
|
||||
func (*SubmitReply) ProtoMessage() {}
|
||||
|
||||
func (x *SubmitReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[1]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -126,7 +127,7 @@ func (x *SubmitReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SubmitReply.ProtoReflect.Descriptor instead.
|
||||
func (*SubmitReply) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{1}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *SubmitReply) GetStatus() int64 {
|
||||
@@ -166,7 +167,7 @@ type SimulatePayRequest struct {
|
||||
|
||||
func (x *SimulatePayRequest) Reset() {
|
||||
*x = SimulatePayRequest{}
|
||||
mi := &file_summary_proto_msgTypes[2]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -178,7 +179,7 @@ func (x *SimulatePayRequest) String() string {
|
||||
func (*SimulatePayRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SimulatePayRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[2]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[2]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -191,7 +192,7 @@ func (x *SimulatePayRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SimulatePayRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SimulatePayRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{2}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *SimulatePayRequest) GetIdentity() []string {
|
||||
@@ -219,7 +220,7 @@ type QuickCreateByProductRequest struct {
|
||||
|
||||
func (x *QuickCreateByProductRequest) Reset() {
|
||||
*x = QuickCreateByProductRequest{}
|
||||
mi := &file_summary_proto_msgTypes[3]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -231,7 +232,7 @@ func (x *QuickCreateByProductRequest) String() string {
|
||||
func (*QuickCreateByProductRequest) ProtoMessage() {}
|
||||
|
||||
func (x *QuickCreateByProductRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[3]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[3]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -244,7 +245,7 @@ func (x *QuickCreateByProductRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use QuickCreateByProductRequest.ProtoReflect.Descriptor instead.
|
||||
func (*QuickCreateByProductRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{3}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *QuickCreateByProductRequest) GetPartnerId() int32 {
|
||||
@@ -331,7 +332,7 @@ type SubmitRequest struct {
|
||||
|
||||
func (x *SubmitRequest) Reset() {
|
||||
*x = SubmitRequest{}
|
||||
mi := &file_summary_proto_msgTypes[4]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -343,7 +344,7 @@ func (x *SubmitRequest) String() string {
|
||||
func (*SubmitRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SubmitRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[4]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -356,7 +357,7 @@ func (x *SubmitRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SubmitRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{4}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SubmitRequest) GetId() []string {
|
||||
@@ -418,7 +419,7 @@ type OrderAddress struct {
|
||||
|
||||
func (x *OrderAddress) Reset() {
|
||||
*x = OrderAddress{}
|
||||
mi := &file_summary_proto_msgTypes[5]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -430,7 +431,7 @@ func (x *OrderAddress) String() string {
|
||||
func (*OrderAddress) ProtoMessage() {}
|
||||
|
||||
func (x *OrderAddress) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[5]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -443,7 +444,7 @@ func (x *OrderAddress) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OrderAddress.ProtoReflect.Descriptor instead.
|
||||
func (*OrderAddress) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{5}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *OrderAddress) GetCountry() string {
|
||||
@@ -510,15 +511,15 @@ func (x *OrderAddress) GetZipCode() string {
|
||||
}
|
||||
|
||||
type SummaryGetReply struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Summary *OrderSummaryItem `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // 订单概要详情
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Summary *protobuf.OrderSummaryItem `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // 订单概要详情
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SummaryGetReply) Reset() {
|
||||
*x = SummaryGetReply{}
|
||||
mi := &file_summary_proto_msgTypes[6]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -530,7 +531,7 @@ func (x *SummaryGetReply) String() string {
|
||||
func (*SummaryGetReply) ProtoMessage() {}
|
||||
|
||||
func (x *SummaryGetReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[6]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -543,10 +544,10 @@ func (x *SummaryGetReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SummaryGetReply.ProtoReflect.Descriptor instead.
|
||||
func (*SummaryGetReply) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{6}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *SummaryGetReply) GetSummary() *OrderSummaryItem {
|
||||
func (x *SummaryGetReply) GetSummary() *protobuf.OrderSummaryItem {
|
||||
if x != nil {
|
||||
return x.Summary
|
||||
}
|
||||
@@ -565,7 +566,7 @@ type SummaryListRequest struct {
|
||||
|
||||
func (x *SummaryListRequest) Reset() {
|
||||
*x = SummaryListRequest{}
|
||||
mi := &file_summary_proto_msgTypes[7]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -577,7 +578,7 @@ func (x *SummaryListRequest) String() string {
|
||||
func (*SummaryListRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SummaryListRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[7]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -590,7 +591,7 @@ func (x *SummaryListRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SummaryListRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SummaryListRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{7}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *SummaryListRequest) GetPayType() int32 {
|
||||
@@ -622,16 +623,16 @@ func (x *SummaryListRequest) GetPageSize() int64 {
|
||||
}
|
||||
|
||||
type SummaryListReply 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"` // 订单列表
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
||||
Data []*protobuf.OrderSummaryItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 订单列表
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SummaryListReply) Reset() {
|
||||
*x = SummaryListReply{}
|
||||
mi := &file_summary_proto_msgTypes[8]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -643,7 +644,7 @@ func (x *SummaryListReply) String() string {
|
||||
func (*SummaryListReply) ProtoMessage() {}
|
||||
|
||||
func (x *SummaryListReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[8]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -656,7 +657,7 @@ func (x *SummaryListReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use SummaryListReply.ProtoReflect.Descriptor instead.
|
||||
func (*SummaryListReply) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{8}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *SummaryListReply) GetCount() int32 {
|
||||
@@ -666,7 +667,7 @@ func (x *SummaryListReply) GetCount() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *SummaryListReply) GetData() []*OrderSummaryItem {
|
||||
func (x *SummaryListReply) GetData() []*protobuf.OrderSummaryItem {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
@@ -686,7 +687,7 @@ type ConfirmRequest struct {
|
||||
|
||||
func (x *ConfirmRequest) Reset() {
|
||||
*x = ConfirmRequest{}
|
||||
mi := &file_summary_proto_msgTypes[9]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -698,7 +699,7 @@ func (x *ConfirmRequest) String() string {
|
||||
func (*ConfirmRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ConfirmRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[9]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -711,7 +712,7 @@ func (x *ConfirmRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ConfirmRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ConfirmRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{9}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *ConfirmRequest) GetOrderNo() string {
|
||||
@@ -758,7 +759,7 @@ type ConfirmReply struct {
|
||||
|
||||
func (x *ConfirmReply) Reset() {
|
||||
*x = ConfirmReply{}
|
||||
mi := &file_summary_proto_msgTypes[10]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -770,7 +771,7 @@ func (x *ConfirmReply) String() string {
|
||||
func (*ConfirmReply) ProtoMessage() {}
|
||||
|
||||
func (x *ConfirmReply) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[10]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -783,7 +784,7 @@ func (x *ConfirmReply) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ConfirmReply.ProtoReflect.Descriptor instead.
|
||||
func (*ConfirmReply) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{10}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *ConfirmReply) GetTotalPrice() int64 {
|
||||
@@ -803,7 +804,7 @@ type CancelRequest struct {
|
||||
|
||||
func (x *CancelRequest) Reset() {
|
||||
*x = CancelRequest{}
|
||||
mi := &file_summary_proto_msgTypes[11]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -815,7 +816,7 @@ func (x *CancelRequest) String() string {
|
||||
func (*CancelRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CancelRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_summary_proto_msgTypes[11]
|
||||
mi := &file_module_ec_order_proto_summary_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -828,7 +829,7 @@ func (x *CancelRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CancelRequest) Descriptor() ([]byte, []int) {
|
||||
return file_summary_proto_rawDescGZIP(), []int{11}
|
||||
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *CancelRequest) GetOrderNo() string {
|
||||
@@ -845,11 +846,11 @@ func (x *CancelRequest) GetType() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_summary_proto protoreflect.FileDescriptor
|
||||
var File_module_ec_order_proto_summary_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_summary_proto_rawDesc = "" +
|
||||
const file_module_ec_order_proto_summary_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x16ec/order/summary.proto\x12\x05order\x1a\x12order/blocks.proto\"\xa8\x01\n" +
|
||||
"#module/ec/order/proto/summary.proto\x12\x05order\x1a\x15protobuf/blocks.proto\"\xa8\x01\n" +
|
||||
"\x18SimulateShipmentsRequest\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\"\n" +
|
||||
"\fitem_idetity\x18\x02 \x01(\tR\fitem_idetity\x12(\n" +
|
||||
@@ -894,17 +895,17 @@ const file_summary_proto_rawDesc = "" +
|
||||
"\acontact\x18\x06 \x01(\tR\acontact\x12\x14\n" +
|
||||
"\x05phone\x18\a \x01(\tR\x05phone\x12\x14\n" +
|
||||
"\x05email\x18\b \x01(\tR\x05email\x12\x19\n" +
|
||||
"\bzip_code\x18\t \x01(\tR\azipCode\"D\n" +
|
||||
"\x0fSummaryGetReply\x121\n" +
|
||||
"\asummary\x18\x01 \x01(\v2\x17.order.OrderSummaryItemR\asummary\"\x8c\x01\n" +
|
||||
"\bzip_code\x18\t \x01(\tR\azipCode\"E\n" +
|
||||
"\x0fSummaryGetReply\x122\n" +
|
||||
"\asummary\x18\x01 \x01(\v2\x18.blocks.OrderSummaryItemR\asummary\"\x8c\x01\n" +
|
||||
"\x12SummaryListRequest\x12\x1a\n" +
|
||||
"\bpay_type\x18\x01 \x01(\x05R\bpay_type\x12\"\n" +
|
||||
"\forder_status\x18\x02 \x01(\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\"U\n" +
|
||||
"\tpage_size\x18\x04 \x01(\x03R\tpage_size\"V\n" +
|
||||
"\x10SummaryListReply\x12\x14\n" +
|
||||
"\x05count\x18\x01 \x01(\x05R\x05count\x12+\n" +
|
||||
"\x04data\x18\x02 \x03(\v2\x17.order.OrderSummaryItemR\x04data\"\xc0\x01\n" +
|
||||
"\x05count\x18\x01 \x01(\x05R\x05count\x12,\n" +
|
||||
"\x04data\x18\x02 \x03(\v2\x18.blocks.OrderSummaryItemR\x04data\"\xc0\x01\n" +
|
||||
"\x0eConfirmRequest\x12\x1a\n" +
|
||||
"\border_no\x18\x01 \x01(\tR\border_no\x12*\n" +
|
||||
"\x10address_identity\x18\x02 \x01(\tR\x10address_identity\x12(\n" +
|
||||
@@ -915,33 +916,33 @@ const file_summary_proto_rawDesc = "" +
|
||||
"\vtotal_price\x18\x01 \x01(\x03R\vtotal_price\"?\n" +
|
||||
"\rCancelRequest\x12\x1a\n" +
|
||||
"\border_no\x18\x01 \x01(\tR\border_no\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type2\xed\x04\n" +
|
||||
"\aSummary\x12P\n" +
|
||||
"\x14QuickCreateByProduct\x12\".order.QuickCreateByProductRequest\x1a\x12.order.StatusReply\"\x00\x124\n" +
|
||||
"\x06Submit\x12\x14.order.SubmitRequest\x1a\x12.order.StatusReply\"\x00\x12+\n" +
|
||||
"\x05Check\x12\f.order.Empty\x1a\x12.order.StatusReply\"\x00\x124\n" +
|
||||
"\x03Get\x12\x13.order.IdentRequest\x1a\x16.order.SummaryGetReply\"\x00\x12<\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type2\xa4\x05\n" +
|
||||
"\aSummary\x12V\n" +
|
||||
"\x14QuickCreateByProduct\x12\".order.QuickCreateByProductRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12:\n" +
|
||||
"\x06Submit\x12\x14.order.SubmitRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x122\n" +
|
||||
"\x05Check\x12\r.blocks.Empty\x1a\x18.blocks.OrderStatusReply\"\x00\x12:\n" +
|
||||
"\x03Get\x12\x19.blocks.OrderIdentRequest\x1a\x16.order.SummaryGetReply\"\x00\x12<\n" +
|
||||
"\x04List\x12\x19.order.SummaryListRequest\x1a\x17.order.SummaryListReply\"\x00\x127\n" +
|
||||
"\aConfirm\x12\x15.order.ConfirmRequest\x1a\x13.order.ConfirmReply\"\x00\x124\n" +
|
||||
"\x06Cancel\x12\x14.order.CancelRequest\x1a\x12.order.StatusReply\"\x00\x12>\n" +
|
||||
"\vSimulatePay\x12\x19.order.SimulatePayRequest\x1a\x12.order.StatusReply\"\x00\x12J\n" +
|
||||
"\x11SimulateShipments\x12\x1f.order.SimulateShipmentsRequest\x1a\x12.order.StatusReply\"\x00\x12>\n" +
|
||||
"\x11SimulateReceiving\x12\x13.order.IdentRequest\x1a\x12.order.StatusReply\"\x00B\tZ\a./orderb\x06proto3"
|
||||
"\aConfirm\x12\x15.order.ConfirmRequest\x1a\x13.order.ConfirmReply\"\x00\x12:\n" +
|
||||
"\x06Cancel\x12\x14.order.CancelRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12D\n" +
|
||||
"\vSimulatePay\x12\x19.order.SimulatePayRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12P\n" +
|
||||
"\x11SimulateShipments\x12\x1f.order.SimulateShipmentsRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12J\n" +
|
||||
"\x11SimulateReceiving\x12\x19.blocks.OrderIdentRequest\x1a\x18.blocks.OrderStatusReply\"\x00B#Z!bsm/full/module/ec/order/pb;orderb\x06proto3"
|
||||
|
||||
var (
|
||||
file_summary_proto_rawDescOnce sync.Once
|
||||
file_summary_proto_rawDescData []byte
|
||||
file_module_ec_order_proto_summary_proto_rawDescOnce sync.Once
|
||||
file_module_ec_order_proto_summary_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_summary_proto_rawDescGZIP() []byte {
|
||||
file_summary_proto_rawDescOnce.Do(func() {
|
||||
file_summary_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_summary_proto_rawDesc), len(file_summary_proto_rawDesc)))
|
||||
func file_module_ec_order_proto_summary_proto_rawDescGZIP() []byte {
|
||||
file_module_ec_order_proto_summary_proto_rawDescOnce.Do(func() {
|
||||
file_module_ec_order_proto_summary_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_order_proto_summary_proto_rawDesc), len(file_module_ec_order_proto_summary_proto_rawDesc)))
|
||||
})
|
||||
return file_summary_proto_rawDescData
|
||||
return file_module_ec_order_proto_summary_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_summary_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_summary_proto_goTypes = []any{
|
||||
var file_module_ec_order_proto_summary_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_module_ec_order_proto_summary_proto_goTypes = []any{
|
||||
(*SimulateShipmentsRequest)(nil), // 0: order.SimulateShipmentsRequest
|
||||
(*SubmitReply)(nil), // 1: order.SubmitReply
|
||||
(*SimulatePayRequest)(nil), // 2: order.SimulatePayRequest
|
||||
@@ -954,35 +955,35 @@ var file_summary_proto_goTypes = []any{
|
||||
(*ConfirmRequest)(nil), // 9: order.ConfirmRequest
|
||||
(*ConfirmReply)(nil), // 10: order.ConfirmReply
|
||||
(*CancelRequest)(nil), // 11: order.CancelRequest
|
||||
(*OrderSummaryItem)(nil), // 12: order.OrderSummaryItem
|
||||
(*Empty)(nil), // 13: order.Empty
|
||||
(*IdentRequest)(nil), // 14: order.IdentRequest
|
||||
(*StatusReply)(nil), // 15: order.StatusReply
|
||||
(*protobuf.OrderSummaryItem)(nil), // 12: blocks.OrderSummaryItem
|
||||
(*protobuf.Empty)(nil), // 13: blocks.Empty
|
||||
(*protobuf.OrderIdentRequest)(nil), // 14: blocks.OrderIdentRequest
|
||||
(*protobuf.OrderStatusReply)(nil), // 15: blocks.OrderStatusReply
|
||||
}
|
||||
var file_summary_proto_depIdxs = []int32{
|
||||
var file_module_ec_order_proto_summary_proto_depIdxs = []int32{
|
||||
5, // 0: order.SubmitRequest.address:type_name -> order.OrderAddress
|
||||
12, // 1: order.SummaryGetReply.summary:type_name -> order.OrderSummaryItem
|
||||
12, // 2: order.SummaryListReply.data:type_name -> order.OrderSummaryItem
|
||||
12, // 1: order.SummaryGetReply.summary:type_name -> blocks.OrderSummaryItem
|
||||
12, // 2: order.SummaryListReply.data:type_name -> blocks.OrderSummaryItem
|
||||
3, // 3: order.Summary.QuickCreateByProduct:input_type -> order.QuickCreateByProductRequest
|
||||
4, // 4: order.Summary.Submit:input_type -> order.SubmitRequest
|
||||
13, // 5: order.Summary.Check:input_type -> order.Empty
|
||||
14, // 6: order.Summary.Get:input_type -> order.IdentRequest
|
||||
13, // 5: order.Summary.Check:input_type -> blocks.Empty
|
||||
14, // 6: order.Summary.Get:input_type -> blocks.OrderIdentRequest
|
||||
7, // 7: order.Summary.List:input_type -> order.SummaryListRequest
|
||||
9, // 8: order.Summary.Confirm:input_type -> order.ConfirmRequest
|
||||
11, // 9: order.Summary.Cancel:input_type -> order.CancelRequest
|
||||
2, // 10: order.Summary.SimulatePay:input_type -> order.SimulatePayRequest
|
||||
0, // 11: order.Summary.SimulateShipments:input_type -> order.SimulateShipmentsRequest
|
||||
14, // 12: order.Summary.SimulateReceiving:input_type -> order.IdentRequest
|
||||
15, // 13: order.Summary.QuickCreateByProduct:output_type -> order.StatusReply
|
||||
15, // 14: order.Summary.Submit:output_type -> order.StatusReply
|
||||
15, // 15: order.Summary.Check:output_type -> order.StatusReply
|
||||
14, // 12: order.Summary.SimulateReceiving:input_type -> blocks.OrderIdentRequest
|
||||
15, // 13: order.Summary.QuickCreateByProduct:output_type -> blocks.OrderStatusReply
|
||||
15, // 14: order.Summary.Submit:output_type -> blocks.OrderStatusReply
|
||||
15, // 15: order.Summary.Check:output_type -> blocks.OrderStatusReply
|
||||
6, // 16: order.Summary.Get:output_type -> order.SummaryGetReply
|
||||
8, // 17: order.Summary.List:output_type -> order.SummaryListReply
|
||||
10, // 18: order.Summary.Confirm:output_type -> order.ConfirmReply
|
||||
15, // 19: order.Summary.Cancel:output_type -> order.StatusReply
|
||||
15, // 20: order.Summary.SimulatePay:output_type -> order.StatusReply
|
||||
15, // 21: order.Summary.SimulateShipments:output_type -> order.StatusReply
|
||||
15, // 22: order.Summary.SimulateReceiving:output_type -> order.StatusReply
|
||||
15, // 19: order.Summary.Cancel:output_type -> blocks.OrderStatusReply
|
||||
15, // 20: order.Summary.SimulatePay:output_type -> blocks.OrderStatusReply
|
||||
15, // 21: order.Summary.SimulateShipments:output_type -> blocks.OrderStatusReply
|
||||
15, // 22: order.Summary.SimulateReceiving:output_type -> blocks.OrderStatusReply
|
||||
13, // [13:23] is the sub-list for method output_type
|
||||
3, // [3:13] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
@@ -990,27 +991,26 @@ var file_summary_proto_depIdxs = []int32{
|
||||
0, // [0:3] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_summary_proto_init() }
|
||||
func file_summary_proto_init() {
|
||||
if File_summary_proto != nil {
|
||||
func init() { file_module_ec_order_proto_summary_proto_init() }
|
||||
func file_module_ec_order_proto_summary_proto_init() {
|
||||
if File_module_ec_order_proto_summary_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_summary_proto_rawDesc), len(file_summary_proto_rawDesc)),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_order_proto_summary_proto_rawDesc), len(file_module_ec_order_proto_summary_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
GoTypes: file_summary_proto_goTypes,
|
||||
DependencyIndexes: file_summary_proto_depIdxs,
|
||||
MessageInfos: file_summary_proto_msgTypes,
|
||||
GoTypes: file_module_ec_order_proto_summary_proto_goTypes,
|
||||
DependencyIndexes: file_module_ec_order_proto_summary_proto_depIdxs,
|
||||
MessageInfos: file_module_ec_order_proto_summary_proto_msgTypes,
|
||||
}.Build()
|
||||
File_summary_proto = out.File
|
||||
file_summary_proto_goTypes = nil
|
||||
file_summary_proto_depIdxs = nil
|
||||
File_module_ec_order_proto_summary_proto = out.File
|
||||
file_module_ec_order_proto_summary_proto_goTypes = nil
|
||||
file_module_ec_order_proto_summary_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user