This commit is contained in:
2026-09-24 08:34:32 +08:00
parent 9b876701c3
commit e5fff985cf
15 changed files with 616 additions and 55 deletions
+206 -43
View File
@@ -1934,6 +1934,150 @@ func (x *ApiSupplyRequest) GetImages() []string {
return nil
}
type WebSaleItemsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
SaleId int64 `protobuf:"varint,4,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
Time []string `protobuf:"bytes,5,rep,name=time,proto3" json:"time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WebSaleItemsRequest) Reset() {
*x = WebSaleItemsRequest{}
mi := &file_order_order_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WebSaleItemsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebSaleItemsRequest) ProtoMessage() {}
func (x *WebSaleItemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_order_order_proto_msgTypes[28]
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 WebSaleItemsRequest.ProtoReflect.Descriptor instead.
func (*WebSaleItemsRequest) Descriptor() ([]byte, []int) {
return file_order_order_proto_rawDescGZIP(), []int{28}
}
func (x *WebSaleItemsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *WebSaleItemsRequest) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *WebSaleItemsRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *WebSaleItemsRequest) GetSaleId() int64 {
if x != nil {
return x.SaleId
}
return 0
}
func (x *WebSaleItemsRequest) GetTime() []string {
if x != nil {
return x.Time
}
return nil
}
type WebStoreItemsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Time []string `protobuf:"bytes,4,rep,name=time,proto3" json:"time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WebStoreItemsRequest) Reset() {
*x = WebStoreItemsRequest{}
mi := &file_order_order_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WebStoreItemsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WebStoreItemsRequest) ProtoMessage() {}
func (x *WebStoreItemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_order_order_proto_msgTypes[29]
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 WebStoreItemsRequest.ProtoReflect.Descriptor instead.
func (*WebStoreItemsRequest) Descriptor() ([]byte, []int) {
return file_order_order_proto_rawDescGZIP(), []int{29}
}
func (x *WebStoreItemsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *WebStoreItemsRequest) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *WebStoreItemsRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *WebStoreItemsRequest) GetTime() []string {
if x != nil {
return x.Time
}
return nil
}
type StatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
@@ -1945,7 +2089,7 @@ type StatusRequest struct {
func (x *StatusRequest) Reset() {
*x = StatusRequest{}
mi := &file_order_order_proto_msgTypes[28]
mi := &file_order_order_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1957,7 +2101,7 @@ func (x *StatusRequest) String() string {
func (*StatusRequest) ProtoMessage() {}
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_order_order_proto_msgTypes[28]
mi := &file_order_order_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -1970,7 +2114,7 @@ func (x *StatusRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) Descriptor() ([]byte, []int) {
return file_order_order_proto_rawDescGZIP(), []int{28}
return file_order_order_proto_rawDescGZIP(), []int{30}
}
func (x *StatusRequest) GetId() int64 {
@@ -2007,7 +2151,7 @@ type SupplyItemsRequest struct {
func (x *SupplyItemsRequest) Reset() {
*x = SupplyItemsRequest{}
mi := &file_order_order_proto_msgTypes[29]
mi := &file_order_order_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -2019,7 +2163,7 @@ func (x *SupplyItemsRequest) String() string {
func (*SupplyItemsRequest) ProtoMessage() {}
func (x *SupplyItemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_order_order_proto_msgTypes[29]
mi := &file_order_order_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2032,7 +2176,7 @@ func (x *SupplyItemsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SupplyItemsRequest.ProtoReflect.Descriptor instead.
func (*SupplyItemsRequest) Descriptor() ([]byte, []int) {
return file_order_order_proto_rawDescGZIP(), []int{29}
return file_order_order_proto_rawDescGZIP(), []int{31}
}
func (x *SupplyItemsRequest) GetPage() int32 {
@@ -2229,7 +2373,18 @@ const file_order_order_proto_rawDesc = "" +
"\border_sn\x18\x01 \x01(\tR\aorderSn\x12\x12\n" +
"\x04info\x18\x02 \x01(\tR\x04info\x12\x16\n" +
"\x06reason\x18\x03 \x01(\tR\x06reason\x12\x16\n" +
"\x06images\x18\x04 \x03(\tR\x06images\"O\n" +
"\x06images\x18\x04 \x03(\tR\x06images\"~\n" +
"\x13WebSaleItemsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12\x17\n" +
"\asale_id\x18\x04 \x01(\x03R\x06saleId\x12\x12\n" +
"\x04time\x18\x05 \x03(\tR\x04time\"f\n" +
"\x14WebStoreItemsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
"\x04time\x18\x04 \x03(\tR\x04time\"O\n" +
"\rStatusRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
@@ -2239,7 +2394,7 @@ const file_order_order_proto_rawDesc = "" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x19\n" +
"\border_sn\x18\x03 \x01(\tR\aorderSn\x12\x12\n" +
"\x04time\x18\x04 \x03(\tR\x04time\x12\x16\n" +
"\x06status\x18\x05 \x01(\x05R\x06status2\x8f\x13\n" +
"\x06status\x18\x05 \x01(\x05R\x06status2\xd6\x14\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\x12^\n" +
"\vAddressItem\x12\x1a.order.AddressItemsRequest\x1a\x0f.order.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/address/items\x12n\n" +
@@ -2266,7 +2421,9 @@ const file_order_order_proto_rawDesc = "" +
"\x0eWebAddressInfo\x12\x17.order.IdAndTypeRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/api/v3/address/info\x12X\n" +
"\x0fWebAddressItems\x12\x12.order.TypeRequest\x1a\x0f.order.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/api/v3/address/items\x12G\n" +
"\aWebCart\x12\x12.order.CartRequest\x1a\x0f.order.Response\"\x17\x82\xd3\xe4\x93\x02\x11:\x01*\x12\f/api/v3/cart\x12T\n" +
"\vWebCartEdit\x12\x16.order.EditCartRequest\x1a\x0f.order.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/v3/cart/editB\x19Z\x17lone-services/rpc/orderb\x06proto3"
"\vWebCartEdit\x12\x16.order.EditCartRequest\x1a\x0f.order.Response\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/api/v3/cart/edit\x12`\n" +
"\fWebSaleItems\x12\x1a.order.WebSaleItemsRequest\x1a\x0f.order.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v3/order/sale/items\x12c\n" +
"\rWebStoreItems\x12\x1b.order.WebStoreItemsRequest\x1a\x0f.order.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/v3/order/store/itemsB\x19Z\x17lone-services/rpc/orderb\x06proto3"
var (
file_order_order_proto_rawDescOnce sync.Once
@@ -2280,7 +2437,7 @@ func file_order_order_proto_rawDescGZIP() []byte {
return file_order_order_proto_rawDescData
}
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
var file_order_order_proto_goTypes = []any{
(*OrderItemsRequest)(nil), // 0: order.OrderItemsRequest
(*Response)(nil), // 1: order.Response
@@ -2310,8 +2467,10 @@ var file_order_order_proto_goTypes = []any{
(*OrderInfoResponse)(nil), // 25: order.OrderInfoResponse
(*ProductItemsResponse)(nil), // 26: order.ProductItemsResponse
(*ApiSupplyRequest)(nil), // 27: order.ApiSupplyRequest
(*StatusRequest)(nil), // 28: order.StatusRequest
(*SupplyItemsRequest)(nil), // 29: order.SupplyItemsRequest
(*WebSaleItemsRequest)(nil), // 28: order.WebSaleItemsRequest
(*WebStoreItemsRequest)(nil), // 29: order.WebStoreItemsRequest
(*StatusRequest)(nil), // 30: order.StatusRequest
(*SupplyItemsRequest)(nil), // 31: order.SupplyItemsRequest
}
var file_order_order_proto_depIdxs = []int32{
26, // 0: order.OrderInfoResponse.product_items:type_name -> order.ProductItemsResponse
@@ -2323,8 +2482,8 @@ var file_order_order_proto_depIdxs = []int32{
17, // 6: order.order.OrderCreate:input_type -> order.AdminCreateOrderRequest
0, // 7: order.order.OrderDown:input_type -> order.OrderItemsRequest
9, // 8: order.order.OrderInfo:input_type -> order.IdRequest
29, // 9: order.order.SupplyItems:input_type -> order.SupplyItemsRequest
28, // 10: order.order.SupplyStatus:input_type -> order.StatusRequest
31, // 9: order.order.SupplyItems:input_type -> order.SupplyItemsRequest
30, // 10: order.order.SupplyStatus:input_type -> order.StatusRequest
23, // 11: order.order.UpdateAddressSaleInfo:input_type -> order.UpdateAddressSaleInfoRequest
18, // 12: order.order.UpdateOrderDeliverStatus:input_type -> order.UpdateOrderDeliverStatusRequest
24, // 13: order.order.GetOrderInfo:input_type -> order.GetOrderInfoRequest
@@ -2341,34 +2500,38 @@ var file_order_order_proto_depIdxs = []int32{
12, // 24: order.order.WebAddressItems:input_type -> order.TypeRequest
8, // 25: order.order.WebCart:input_type -> order.CartRequest
7, // 26: order.order.WebCartEdit:input_type -> order.EditCartRequest
1, // 27: order.order.Items:output_type -> order.Response
1, // 28: order.order.AddressItem:output_type -> order.Response
1, // 29: order.order.AddressByStore:output_type -> order.Response
1, // 30: order.order.OrderAuditingItems:output_type -> order.Response
1, // 31: order.order.OrderAuditing:output_type -> order.Response
1, // 32: order.order.OrderCreate:output_type -> order.Response
2, // 33: order.order.OrderDown:output_type -> order.ExcelExportResponse
1, // 34: order.order.OrderInfo:output_type -> order.Response
1, // 35: order.order.SupplyItems:output_type -> order.Response
1, // 36: order.order.SupplyStatus:output_type -> order.Response
22, // 37: order.order.UpdateAddressSaleInfo:output_type -> order.UpdateAddressSaleInfoResponse
21, // 38: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
25, // 39: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
20, // 40: order.order.UpdateOrderPayStatus:output_type -> order.UpdateOrderPayStatusResponse
1, // 41: order.order.ApiSupply:output_type -> order.Response
1, // 42: order.order.ApiSupplyInfo:output_type -> order.Response
1, // 43: order.order.WebCreate:output_type -> order.Response
1, // 44: order.order.WebCreateOne:output_type -> order.Response
1, // 45: order.order.WebAddressCreate:output_type -> order.Response
1, // 46: order.order.WebAddressEdit:output_type -> order.Response
1, // 47: order.order.WebAddressDel:output_type -> order.Response
1, // 48: order.order.WebAddressDef:output_type -> order.Response
1, // 49: order.order.WebAddressInfo:output_type -> order.Response
1, // 50: order.order.WebAddressItems:output_type -> order.Response
1, // 51: order.order.WebCart:output_type -> order.Response
1, // 52: order.order.WebCartEdit:output_type -> order.Response
27, // [27:53] is the sub-list for method output_type
1, // [1:27] is the sub-list for method input_type
28, // 27: order.order.WebSaleItems:input_type -> order.WebSaleItemsRequest
29, // 28: order.order.WebStoreItems:input_type -> order.WebStoreItemsRequest
1, // 29: order.order.Items:output_type -> order.Response
1, // 30: order.order.AddressItem:output_type -> order.Response
1, // 31: order.order.AddressByStore:output_type -> order.Response
1, // 32: order.order.OrderAuditingItems:output_type -> order.Response
1, // 33: order.order.OrderAuditing:output_type -> order.Response
1, // 34: order.order.OrderCreate:output_type -> order.Response
2, // 35: order.order.OrderDown:output_type -> order.ExcelExportResponse
1, // 36: order.order.OrderInfo:output_type -> order.Response
1, // 37: order.order.SupplyItems:output_type -> order.Response
1, // 38: order.order.SupplyStatus:output_type -> order.Response
22, // 39: order.order.UpdateAddressSaleInfo:output_type -> order.UpdateAddressSaleInfoResponse
21, // 40: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
25, // 41: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
20, // 42: order.order.UpdateOrderPayStatus:output_type -> order.UpdateOrderPayStatusResponse
1, // 43: order.order.ApiSupply:output_type -> order.Response
1, // 44: order.order.ApiSupplyInfo:output_type -> order.Response
1, // 45: order.order.WebCreate:output_type -> order.Response
1, // 46: order.order.WebCreateOne:output_type -> order.Response
1, // 47: order.order.WebAddressCreate:output_type -> order.Response
1, // 48: order.order.WebAddressEdit:output_type -> order.Response
1, // 49: order.order.WebAddressDel:output_type -> order.Response
1, // 50: order.order.WebAddressDef:output_type -> order.Response
1, // 51: order.order.WebAddressInfo:output_type -> order.Response
1, // 52: order.order.WebAddressItems:output_type -> order.Response
1, // 53: order.order.WebCart:output_type -> order.Response
1, // 54: order.order.WebCartEdit:output_type -> order.Response
1, // 55: order.order.WebSaleItems:output_type -> order.Response
1, // 56: order.order.WebStoreItems:output_type -> order.Response
29, // [29:57] is the sub-list for method output_type
1, // [1:29] 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
@@ -2385,7 +2548,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: 30,
NumMessages: 32,
NumExtensions: 0,
NumServices: 1,
},