factroy store
This commit is contained in:
+171
-48
@@ -7,13 +7,12 @@
|
||||
package order
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
|
||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -1323,6 +1322,118 @@ func (x *UpdateOrderDeliverStatusResponse) GetNum() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateAddressSaleInfoResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Num int32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoResponse) Reset() {
|
||||
*x = UpdateAddressSaleInfoResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAddressSaleInfoResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAddressSaleInfoResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
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 UpdateAddressSaleInfoResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAddressSaleInfoResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoResponse) GetNum() int32 {
|
||||
if x != nil {
|
||||
return x.Num
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateAddressSaleInfoRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
SaleId int64 `protobuf:"varint,3,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
||||
GroupId int64 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) Reset() {
|
||||
*x = UpdateAddressSaleInfoRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateAddressSaleInfoRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
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 UpdateAddressSaleInfoRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateAddressSaleInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) GetId() int64 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) GetSaleId() int64 {
|
||||
if x != nil {
|
||||
return x.SaleId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateAddressSaleInfoRequest) GetGroupId() int64 {
|
||||
if x != nil {
|
||||
return x.GroupId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type GetOrderInfoRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
@@ -1334,7 +1445,7 @@ type GetOrderInfoRequest struct {
|
||||
|
||||
func (x *GetOrderInfoRequest) Reset() {
|
||||
*x = GetOrderInfoRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1346,7 +1457,7 @@ func (x *GetOrderInfoRequest) String() string {
|
||||
func (*GetOrderInfoRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetOrderInfoRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1359,7 +1470,7 @@ func (x *GetOrderInfoRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use GetOrderInfoRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetOrderInfoRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{21}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *GetOrderInfoRequest) GetUserId() int64 {
|
||||
@@ -1418,7 +1529,7 @@ type OrderInfoResponse struct {
|
||||
|
||||
func (x *OrderInfoResponse) Reset() {
|
||||
*x = OrderInfoResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
mi := &file_order_order_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1430,7 +1541,7 @@ func (x *OrderInfoResponse) String() string {
|
||||
func (*OrderInfoResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OrderInfoResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
mi := &file_order_order_proto_msgTypes[24]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1443,7 +1554,7 @@ func (x *OrderInfoResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OrderInfoResponse.ProtoReflect.Descriptor instead.
|
||||
func (*OrderInfoResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{22}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *OrderInfoResponse) GetId() int64 {
|
||||
@@ -1649,7 +1760,7 @@ type ProductItemsResponse struct {
|
||||
|
||||
func (x *ProductItemsResponse) Reset() {
|
||||
*x = ProductItemsResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
mi := &file_order_order_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1661,7 +1772,7 @@ func (x *ProductItemsResponse) String() string {
|
||||
func (*ProductItemsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ProductItemsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
mi := &file_order_order_proto_msgTypes[25]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1674,7 +1785,7 @@ func (x *ProductItemsResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ProductItemsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ProductItemsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{23}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetId() int64 {
|
||||
@@ -1818,7 +1929,14 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\x1cUpdateOrderPayStatusResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"4\n" +
|
||||
" UpdateOrderDeliverStatusResponse\x12\x10\n" +
|
||||
"\x03num\x18\x01 \x01(\x05R\x03num\"]\n" +
|
||||
"\x03num\x18\x01 \x01(\x05R\x03num\"1\n" +
|
||||
"\x1dUpdateAddressSaleInfoResponse\x12\x10\n" +
|
||||
"\x03num\x18\x01 \x01(\x05R\x03num\"v\n" +
|
||||
"\x1cUpdateAddressSaleInfoRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type\x12\x17\n" +
|
||||
"\asale_id\x18\x03 \x01(\x03R\x06saleId\x12\x19\n" +
|
||||
"\bgroup_id\x18\x04 \x01(\x03R\agroupId\"]\n" +
|
||||
"\x13GetOrderInfoRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x19\n" +
|
||||
"\border_sn\x18\x02 \x01(\tR\aorderSn\x12\x12\n" +
|
||||
@@ -1865,7 +1983,7 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"product_id\x18\x03 \x01(\x03R\tproductId\x12!\n" +
|
||||
"\fproduct_name\x18\x04 \x01(\tR\vproductName\x12\x14\n" +
|
||||
"\x05price\x18\x05 \x01(\x01R\x05price\x12\x16\n" +
|
||||
"\x06number\x18\x06 \x01(\x05R\x06number2\xbd\x0f\n" +
|
||||
"\x06number\x18\x06 \x01(\x05R\x06number2\xa1\x10\n" +
|
||||
"\x05order\x12T\n" +
|
||||
"\x05Items\x12\x18.order.OrderItemsRequest\x1a\x0f.order.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/admin/v3/order/items\x12X\n" +
|
||||
"\tWebCreate\x12\x19.order.CreateOrderRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v3/order/create\x12b\n" +
|
||||
@@ -1884,7 +2002,8 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\rOrderAuditing\x12\x1b.order.OrderAuditingRequest\x1a\x0f.order.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/order/auditing\x12a\n" +
|
||||
"\vOrderCreate\x12\x1e.order.AdminCreateOrderRequest\x1a\x0f.order.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/admin/v3/order/create\x12b\n" +
|
||||
"\tOrderDown\x12\x18.order.OrderItemsRequest\x1a\x1a.order.ExcelExportResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/order/down\x12O\n" +
|
||||
"\tOrderInfo\x12\x10.order.IdRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/order/info\x12k\n" +
|
||||
"\tOrderInfo\x12\x10.order.IdRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/order/info\x12b\n" +
|
||||
"\x15UpdateAddressSaleInfo\x12#.order.UpdateAddressSaleInfoRequest\x1a$.order.UpdateAddressSaleInfoResponse\x12k\n" +
|
||||
"\x18UpdateOrderDeliverStatus\x12&.order.UpdateOrderDeliverStatusRequest\x1a'.order.UpdateOrderDeliverStatusResponse\x12D\n" +
|
||||
"\fGetOrderInfo\x12\x1a.order.GetOrderInfoRequest\x1a\x18.order.OrderInfoResponse\x12_\n" +
|
||||
"\x14UpdateOrderPayStatus\x12\".order.UpdateOrderPayStatusRequest\x1a#.order.UpdateOrderPayStatusResponseB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
||||
@@ -1901,7 +2020,7 @@ func file_order_order_proto_rawDescGZIP() []byte {
|
||||
return file_order_order_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
||||
var file_order_order_proto_goTypes = []any{
|
||||
(*OrderItemsRequest)(nil), // 0: order.OrderItemsRequest
|
||||
(*Response)(nil), // 1: order.Response
|
||||
@@ -1924,12 +2043,14 @@ var file_order_order_proto_goTypes = []any{
|
||||
(*UpdateOrderPayStatusRequest)(nil), // 18: order.UpdateOrderPayStatusRequest
|
||||
(*UpdateOrderPayStatusResponse)(nil), // 19: order.UpdateOrderPayStatusResponse
|
||||
(*UpdateOrderDeliverStatusResponse)(nil), // 20: order.UpdateOrderDeliverStatusResponse
|
||||
(*GetOrderInfoRequest)(nil), // 21: order.GetOrderInfoRequest
|
||||
(*OrderInfoResponse)(nil), // 22: order.OrderInfoResponse
|
||||
(*ProductItemsResponse)(nil), // 23: order.ProductItemsResponse
|
||||
(*UpdateAddressSaleInfoResponse)(nil), // 21: order.UpdateAddressSaleInfoResponse
|
||||
(*UpdateAddressSaleInfoRequest)(nil), // 22: order.UpdateAddressSaleInfoRequest
|
||||
(*GetOrderInfoRequest)(nil), // 23: order.GetOrderInfoRequest
|
||||
(*OrderInfoResponse)(nil), // 24: order.OrderInfoResponse
|
||||
(*ProductItemsResponse)(nil), // 25: order.ProductItemsResponse
|
||||
}
|
||||
var file_order_order_proto_depIdxs = []int32{
|
||||
23, // 0: order.OrderInfoResponse.product_items:type_name -> order.ProductItemsResponse
|
||||
25, // 0: order.OrderInfoResponse.product_items:type_name -> order.ProductItemsResponse
|
||||
0, // 1: order.order.Items:input_type -> order.OrderItemsRequest
|
||||
3, // 2: order.order.WebCreate:input_type -> order.CreateOrderRequest
|
||||
4, // 3: order.order.WebCreateOne:input_type -> order.CreateOrderOneRequest
|
||||
@@ -1948,32 +2069,34 @@ var file_order_order_proto_depIdxs = []int32{
|
||||
16, // 16: order.order.OrderCreate:input_type -> order.AdminCreateOrderRequest
|
||||
0, // 17: order.order.OrderDown:input_type -> order.OrderItemsRequest
|
||||
9, // 18: order.order.OrderInfo:input_type -> order.IdRequest
|
||||
17, // 19: order.order.UpdateOrderDeliverStatus:input_type -> order.UpdateOrderDeliverStatusRequest
|
||||
21, // 20: order.order.GetOrderInfo:input_type -> order.GetOrderInfoRequest
|
||||
18, // 21: order.order.UpdateOrderPayStatus:input_type -> order.UpdateOrderPayStatusRequest
|
||||
1, // 22: order.order.Items:output_type -> order.Response
|
||||
1, // 23: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 24: order.order.WebCreateOne:output_type -> order.Response
|
||||
1, // 25: order.order.WebAddressCreate:output_type -> order.Response
|
||||
1, // 26: order.order.WebAddressEdit:output_type -> order.Response
|
||||
1, // 27: order.order.WebAddressDel:output_type -> order.Response
|
||||
1, // 28: order.order.WebAddressDef:output_type -> order.Response
|
||||
1, // 29: order.order.WebAddressInfo:output_type -> order.Response
|
||||
1, // 30: order.order.WebAddressItems:output_type -> order.Response
|
||||
1, // 31: order.order.WebCart:output_type -> order.Response
|
||||
1, // 32: order.order.WebCartEdit:output_type -> order.Response
|
||||
1, // 33: order.order.AddressItem:output_type -> order.Response
|
||||
1, // 34: order.order.AddressByStore:output_type -> order.Response
|
||||
1, // 35: order.order.OrderAuditingItems:output_type -> order.Response
|
||||
1, // 36: order.order.OrderAuditing:output_type -> order.Response
|
||||
1, // 37: order.order.OrderCreate:output_type -> order.Response
|
||||
2, // 38: order.order.OrderDown:output_type -> order.ExcelExportResponse
|
||||
1, // 39: order.order.OrderInfo:output_type -> order.Response
|
||||
20, // 40: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
|
||||
22, // 41: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
|
||||
19, // 42: order.order.UpdateOrderPayStatus:output_type -> order.UpdateOrderPayStatusResponse
|
||||
22, // [22:43] is the sub-list for method output_type
|
||||
1, // [1:22] is the sub-list for method input_type
|
||||
22, // 19: order.order.UpdateAddressSaleInfo:input_type -> order.UpdateAddressSaleInfoRequest
|
||||
17, // 20: order.order.UpdateOrderDeliverStatus:input_type -> order.UpdateOrderDeliverStatusRequest
|
||||
23, // 21: order.order.GetOrderInfo:input_type -> order.GetOrderInfoRequest
|
||||
18, // 22: order.order.UpdateOrderPayStatus:input_type -> order.UpdateOrderPayStatusRequest
|
||||
1, // 23: order.order.Items:output_type -> order.Response
|
||||
1, // 24: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 25: order.order.WebCreateOne:output_type -> order.Response
|
||||
1, // 26: order.order.WebAddressCreate:output_type -> order.Response
|
||||
1, // 27: order.order.WebAddressEdit:output_type -> order.Response
|
||||
1, // 28: order.order.WebAddressDel:output_type -> order.Response
|
||||
1, // 29: order.order.WebAddressDef:output_type -> order.Response
|
||||
1, // 30: order.order.WebAddressInfo:output_type -> order.Response
|
||||
1, // 31: order.order.WebAddressItems:output_type -> order.Response
|
||||
1, // 32: order.order.WebCart:output_type -> order.Response
|
||||
1, // 33: order.order.WebCartEdit:output_type -> order.Response
|
||||
1, // 34: order.order.AddressItem:output_type -> order.Response
|
||||
1, // 35: order.order.AddressByStore:output_type -> order.Response
|
||||
1, // 36: order.order.OrderAuditingItems:output_type -> order.Response
|
||||
1, // 37: order.order.OrderAuditing:output_type -> order.Response
|
||||
1, // 38: order.order.OrderCreate:output_type -> order.Response
|
||||
2, // 39: order.order.OrderDown:output_type -> order.ExcelExportResponse
|
||||
1, // 40: order.order.OrderInfo:output_type -> order.Response
|
||||
21, // 41: order.order.UpdateAddressSaleInfo:output_type -> order.UpdateAddressSaleInfoResponse
|
||||
20, // 42: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
|
||||
24, // 43: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
|
||||
19, // 44: order.order.UpdateOrderPayStatus:output_type -> order.UpdateOrderPayStatusResponse
|
||||
23, // [23:45] is the sub-list for method output_type
|
||||
1, // [1:23] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
@@ -1990,7 +2113,7 @@ func file_order_order_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_order_order_proto_rawDesc), len(file_order_order_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 24,
|
||||
NumMessages: 26,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user