order address apis
This commit is contained in:
+330
-81
@@ -242,6 +242,74 @@ func (x *CreateOrderRequest) GetNote() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type CreateOrderOneRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AddressId int64 `protobuf:"varint,1,opt,name=address_id,json=addressId,proto3" json:"address_id,omitempty"`
|
||||
Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
|
||||
Productid int64 `protobuf:"varint,3,opt,name=productid,proto3" json:"productid,omitempty"`
|
||||
Num int32 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) Reset() {
|
||||
*x = CreateOrderOneRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CreateOrderOneRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateOrderOneRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_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 CreateOrderOneRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateOrderOneRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) GetAddressId() int64 {
|
||||
if x != nil {
|
||||
return x.AddressId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) GetNote() string {
|
||||
if x != nil {
|
||||
return x.Note
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) GetProductid() int64 {
|
||||
if x != nil {
|
||||
return x.Productid
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *CreateOrderOneRequest) GetNum() int32 {
|
||||
if x != nil {
|
||||
return x.Num
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type EditAddressRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
District string `protobuf:"bytes,1,opt,name=district,proto3" json:"district,omitempty"`
|
||||
@@ -258,7 +326,7 @@ type EditAddressRequest struct {
|
||||
|
||||
func (x *EditAddressRequest) Reset() {
|
||||
*x = EditAddressRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[3]
|
||||
mi := &file_order_order_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -270,7 +338,7 @@ func (x *EditAddressRequest) String() string {
|
||||
func (*EditAddressRequest) ProtoMessage() {}
|
||||
|
||||
func (x *EditAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[3]
|
||||
mi := &file_order_order_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -283,7 +351,7 @@ func (x *EditAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use EditAddressRequest.ProtoReflect.Descriptor instead.
|
||||
func (*EditAddressRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{3}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *EditAddressRequest) GetDistrict() string {
|
||||
@@ -346,13 +414,14 @@ type StatusAddressRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *StatusAddressRequest) Reset() {
|
||||
*x = StatusAddressRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[4]
|
||||
mi := &file_order_order_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -364,7 +433,7 @@ func (x *StatusAddressRequest) String() string {
|
||||
func (*StatusAddressRequest) ProtoMessage() {}
|
||||
|
||||
func (x *StatusAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[4]
|
||||
mi := &file_order_order_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -377,7 +446,7 @@ func (x *StatusAddressRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StatusAddressRequest.ProtoReflect.Descriptor instead.
|
||||
func (*StatusAddressRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{4}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *StatusAddressRequest) GetId() int64 {
|
||||
@@ -394,6 +463,13 @@ func (x *StatusAddressRequest) GetStatus() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StatusAddressRequest) GetReason() string {
|
||||
if x != nil {
|
||||
return x.Reason
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type EmptyRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -402,7 +478,7 @@ type EmptyRequest struct {
|
||||
|
||||
func (x *EmptyRequest) Reset() {
|
||||
*x = EmptyRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[5]
|
||||
mi := &file_order_order_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -414,7 +490,7 @@ func (x *EmptyRequest) String() string {
|
||||
func (*EmptyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[5]
|
||||
mi := &file_order_order_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -427,19 +503,20 @@ func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*EmptyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{5}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
type EditCartRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
||||
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *EditCartRequest) Reset() {
|
||||
*x = EditCartRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[6]
|
||||
mi := &file_order_order_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -451,7 +528,7 @@ func (x *EditCartRequest) String() string {
|
||||
func (*EditCartRequest) ProtoMessage() {}
|
||||
|
||||
func (x *EditCartRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[6]
|
||||
mi := &file_order_order_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -464,7 +541,7 @@ func (x *EditCartRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use EditCartRequest.ProtoReflect.Descriptor instead.
|
||||
func (*EditCartRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{6}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *EditCartRequest) GetInfo() string {
|
||||
@@ -474,6 +551,57 @@ func (x *EditCartRequest) GetInfo() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *EditCartRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type CartRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *CartRequest) Reset() {
|
||||
*x = CartRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *CartRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*CartRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CartRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[8]
|
||||
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 CartRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CartRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *CartRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type IdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
@@ -483,7 +611,7 @@ type IdRequest struct {
|
||||
|
||||
func (x *IdRequest) Reset() {
|
||||
*x = IdRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[7]
|
||||
mi := &file_order_order_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -495,7 +623,7 @@ func (x *IdRequest) String() string {
|
||||
func (*IdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[7]
|
||||
mi := &file_order_order_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -508,7 +636,7 @@ func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*IdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{7}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *IdRequest) GetId() int64 {
|
||||
@@ -518,6 +646,102 @@ func (x *IdRequest) GetId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
type IdAndTypeRequest 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"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *IdAndTypeRequest) Reset() {
|
||||
*x = IdAndTypeRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *IdAndTypeRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*IdAndTypeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *IdAndTypeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[10]
|
||||
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 IdAndTypeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*IdAndTypeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *IdAndTypeRequest) GetId() int64 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *IdAndTypeRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type TypeRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *TypeRequest) Reset() {
|
||||
*x = TypeRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *TypeRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*TypeRequest) ProtoMessage() {}
|
||||
|
||||
func (x *TypeRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[11]
|
||||
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 TypeRequest.ProtoReflect.Descriptor instead.
|
||||
func (*TypeRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *TypeRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type AddressItemsRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
|
||||
@@ -527,14 +751,14 @@ type AddressItemsRequest struct {
|
||||
Mobile string `protobuf:"bytes,5,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
StoreId int64 `protobuf:"varint,6,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
|
||||
SaleId int64 `protobuf:"varint,7,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
||||
Time string `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty"`
|
||||
Time []string `protobuf:"bytes,8,rep,name=time,proto3" json:"time,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *AddressItemsRequest) Reset() {
|
||||
*x = AddressItemsRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[8]
|
||||
mi := &file_order_order_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -546,7 +770,7 @@ func (x *AddressItemsRequest) String() string {
|
||||
func (*AddressItemsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AddressItemsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[8]
|
||||
mi := &file_order_order_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -559,7 +783,7 @@ func (x *AddressItemsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AddressItemsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AddressItemsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{8}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *AddressItemsRequest) GetPage() int32 {
|
||||
@@ -611,11 +835,11 @@ func (x *AddressItemsRequest) GetSaleId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *AddressItemsRequest) GetTime() string {
|
||||
func (x *AddressItemsRequest) GetTime() []string {
|
||||
if x != nil {
|
||||
return x.Time
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
|
||||
type OrderAuditingItemsRequest struct {
|
||||
@@ -628,7 +852,7 @@ type OrderAuditingItemsRequest struct {
|
||||
|
||||
func (x *OrderAuditingItemsRequest) Reset() {
|
||||
*x = OrderAuditingItemsRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[9]
|
||||
mi := &file_order_order_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -640,7 +864,7 @@ func (x *OrderAuditingItemsRequest) String() string {
|
||||
func (*OrderAuditingItemsRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OrderAuditingItemsRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[9]
|
||||
mi := &file_order_order_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -653,7 +877,7 @@ func (x *OrderAuditingItemsRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OrderAuditingItemsRequest.ProtoReflect.Descriptor instead.
|
||||
func (*OrderAuditingItemsRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{9}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *OrderAuditingItemsRequest) GetPage() int32 {
|
||||
@@ -681,7 +905,7 @@ type OrderAuditingRequest struct {
|
||||
|
||||
func (x *OrderAuditingRequest) Reset() {
|
||||
*x = OrderAuditingRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[10]
|
||||
mi := &file_order_order_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -693,7 +917,7 @@ func (x *OrderAuditingRequest) String() string {
|
||||
func (*OrderAuditingRequest) ProtoMessage() {}
|
||||
|
||||
func (x *OrderAuditingRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[10]
|
||||
mi := &file_order_order_proto_msgTypes[14]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -706,7 +930,7 @@ func (x *OrderAuditingRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use OrderAuditingRequest.ProtoReflect.Descriptor instead.
|
||||
func (*OrderAuditingRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{10}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *OrderAuditingRequest) GetId() int64 {
|
||||
@@ -741,7 +965,7 @@ type AdminCreateOrderRequest struct {
|
||||
|
||||
func (x *AdminCreateOrderRequest) Reset() {
|
||||
*x = AdminCreateOrderRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[11]
|
||||
mi := &file_order_order_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -753,7 +977,7 @@ func (x *AdminCreateOrderRequest) String() string {
|
||||
func (*AdminCreateOrderRequest) ProtoMessage() {}
|
||||
|
||||
func (x *AdminCreateOrderRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[11]
|
||||
mi := &file_order_order_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -766,7 +990,7 @@ func (x *AdminCreateOrderRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use AdminCreateOrderRequest.ProtoReflect.Descriptor instead.
|
||||
func (*AdminCreateOrderRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{11}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *AdminCreateOrderRequest) GetAddressId() int64 {
|
||||
@@ -813,7 +1037,13 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\x12CreateOrderRequest\x12\x1d\n" +
|
||||
"\n" +
|
||||
"address_id\x18\x01 \x01(\x03R\taddressId\x12\x12\n" +
|
||||
"\x04note\x18\x02 \x01(\tR\x04note\"\xd7\x01\n" +
|
||||
"\x04note\x18\x02 \x01(\tR\x04note\"z\n" +
|
||||
"\x15CreateOrderOneRequest\x12\x1d\n" +
|
||||
"\n" +
|
||||
"address_id\x18\x01 \x01(\x03R\taddressId\x12\x12\n" +
|
||||
"\x04note\x18\x02 \x01(\tR\x04note\x12\x1c\n" +
|
||||
"\tproductid\x18\x03 \x01(\x03R\tproductid\x12\x10\n" +
|
||||
"\x03num\x18\x04 \x01(\x05R\x03num\"\xd7\x01\n" +
|
||||
"\x12EditAddressRequest\x12\x1a\n" +
|
||||
"\bdistrict\x18\x01 \x01(\tR\bdistrict\x12\x18\n" +
|
||||
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x12\n" +
|
||||
@@ -822,15 +1052,24 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\fdistrict_ids\x18\x05 \x01(\tR\vdistrictIds\x12\x18\n" +
|
||||
"\adefault\x18\x06 \x01(\bR\adefault\x12\x0e\n" +
|
||||
"\x02id\x18\a \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\b \x01(\x05R\x04type\">\n" +
|
||||
"\x04type\x18\b \x01(\x05R\x04type\"V\n" +
|
||||
"\x14StatusAddressRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06status\x18\x02 \x01(\x05R\x06status\"\x0e\n" +
|
||||
"\fEmptyRequest\"%\n" +
|
||||
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
|
||||
"\x06reason\x18\x03 \x01(\tR\x06reason\"\x0e\n" +
|
||||
"\fEmptyRequest\"9\n" +
|
||||
"\x0fEditCartRequest\x12\x12\n" +
|
||||
"\x04info\x18\x01 \x01(\tR\x04info\"\x1b\n" +
|
||||
"\x04info\x18\x01 \x01(\tR\x04info\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type\"!\n" +
|
||||
"\vCartRequest\x12\x12\n" +
|
||||
"\x04type\x18\x01 \x01(\x05R\x04type\"\x1b\n" +
|
||||
"\tIdRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"\xd2\x01\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"6\n" +
|
||||
"\x10IdAndTypeRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type\"!\n" +
|
||||
"\vTypeRequest\x12\x12\n" +
|
||||
"\x04type\x18\x01 \x01(\x05R\x04type\"\xd2\x01\n" +
|
||||
"\x13AddressItemsRequest\x12\x12\n" +
|
||||
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
||||
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x1f\n" +
|
||||
@@ -840,7 +1079,7 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\x06mobile\x18\x05 \x01(\tR\x06mobile\x12\x19\n" +
|
||||
"\bstore_id\x18\x06 \x01(\x03R\astoreId\x12\x17\n" +
|
||||
"\asale_id\x18\a \x01(\x03R\x06saleId\x12\x12\n" +
|
||||
"\x04time\x18\b \x01(\tR\x04time\"C\n" +
|
||||
"\x04time\x18\b \x03(\tR\x04time\"C\n" +
|
||||
"\x19OrderAuditingItemsRequest\x12\x12\n" +
|
||||
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
||||
"\x04size\x18\x02 \x01(\x05R\x04size\"V\n" +
|
||||
@@ -852,16 +1091,18 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"address_id\x18\x01 \x01(\x03R\taddressId\x12\x12\n" +
|
||||
"\x04note\x18\x02 \x01(\tR\x04note\x12\x12\n" +
|
||||
"\x04info\x18\x03 \x01(\tR\x04info2\xc8\t\n" +
|
||||
"\x04info\x18\x03 \x01(\tR\x04info2\x84\v\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\x12a\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" +
|
||||
"\fWebCreateOne\x12\x1c.order.CreateOrderOneRequest\x1a\x0f.order.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v3/order/create/one\x12a\n" +
|
||||
"\x10WebAddressCreate\x12\x19.order.EditAddressRequest\x1a\x0f.order.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/v3/address/create\x12]\n" +
|
||||
"\x0eWebAddressEdit\x12\x19.order.EditAddressRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v3/address/edit\x12c\n" +
|
||||
"\x10WebAddressStatus\x12\x1b.order.StatusAddressRequest\x1a\x0f.order.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/v3/address/status\x12R\n" +
|
||||
"\rWebAddressDef\x12\x10.order.IdRequest\x1a\x0f.order.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/api/v3/address/def\x12Y\n" +
|
||||
"\x0fWebAddressItems\x12\x13.order.EmptyRequest\x1a\x0f.order.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/api/v3/address/items\x12H\n" +
|
||||
"\aWebCart\x12\x13.order.EmptyRequest\x1a\x0f.order.Response\"\x17\x82\xd3\xe4\x93\x02\x11:\x01*\x12\f/api/v3/cart\x12T\n" +
|
||||
"\x0eWebAddressEdit\x12\x19.order.EditAddressRequest\x1a\x0f.order.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v3/address/edit\x12Y\n" +
|
||||
"\rWebAddressDel\x12\x17.order.IdAndTypeRequest\x1a\x0f.order.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/api/v3/address/del\x12Y\n" +
|
||||
"\rWebAddressDef\x12\x17.order.IdAndTypeRequest\x1a\x0f.order.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/api/v3/address/def\x12[\n" +
|
||||
"\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/edit\x12^\n" +
|
||||
"\vAddressItem\x12\x1a.order.AddressItemsRequest\x1a\x0f.order.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/address/items\x12r\n" +
|
||||
"\x12OrderAuditingItems\x12 .order.OrderAuditingItemsRequest\x1a\x0f.order.Response\")\x82\xd3\xe4\x93\x02#:\x01*\x12\x1e/admin/v3/order/auditing/items\x12b\n" +
|
||||
@@ -880,50 +1121,58 @@ func file_order_order_proto_rawDescGZIP() []byte {
|
||||
return file_order_order_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
||||
var file_order_order_proto_goTypes = []any{
|
||||
(*OrderItemsRequest)(nil), // 0: order.OrderItemsRequest
|
||||
(*Response)(nil), // 1: order.Response
|
||||
(*CreateOrderRequest)(nil), // 2: order.CreateOrderRequest
|
||||
(*EditAddressRequest)(nil), // 3: order.EditAddressRequest
|
||||
(*StatusAddressRequest)(nil), // 4: order.StatusAddressRequest
|
||||
(*EmptyRequest)(nil), // 5: order.EmptyRequest
|
||||
(*EditCartRequest)(nil), // 6: order.EditCartRequest
|
||||
(*IdRequest)(nil), // 7: order.IdRequest
|
||||
(*AddressItemsRequest)(nil), // 8: order.AddressItemsRequest
|
||||
(*OrderAuditingItemsRequest)(nil), // 9: order.OrderAuditingItemsRequest
|
||||
(*OrderAuditingRequest)(nil), // 10: order.OrderAuditingRequest
|
||||
(*AdminCreateOrderRequest)(nil), // 11: order.AdminCreateOrderRequest
|
||||
(*CreateOrderOneRequest)(nil), // 3: order.CreateOrderOneRequest
|
||||
(*EditAddressRequest)(nil), // 4: order.EditAddressRequest
|
||||
(*StatusAddressRequest)(nil), // 5: order.StatusAddressRequest
|
||||
(*EmptyRequest)(nil), // 6: order.EmptyRequest
|
||||
(*EditCartRequest)(nil), // 7: order.EditCartRequest
|
||||
(*CartRequest)(nil), // 8: order.CartRequest
|
||||
(*IdRequest)(nil), // 9: order.IdRequest
|
||||
(*IdAndTypeRequest)(nil), // 10: order.IdAndTypeRequest
|
||||
(*TypeRequest)(nil), // 11: order.TypeRequest
|
||||
(*AddressItemsRequest)(nil), // 12: order.AddressItemsRequest
|
||||
(*OrderAuditingItemsRequest)(nil), // 13: order.OrderAuditingItemsRequest
|
||||
(*OrderAuditingRequest)(nil), // 14: order.OrderAuditingRequest
|
||||
(*AdminCreateOrderRequest)(nil), // 15: order.AdminCreateOrderRequest
|
||||
}
|
||||
var file_order_order_proto_depIdxs = []int32{
|
||||
0, // 0: order.order.Items:input_type -> order.OrderItemsRequest
|
||||
2, // 1: order.order.WebCreate:input_type -> order.CreateOrderRequest
|
||||
3, // 2: order.order.WebAddressCreate:input_type -> order.EditAddressRequest
|
||||
3, // 3: order.order.WebAddressEdit:input_type -> order.EditAddressRequest
|
||||
4, // 4: order.order.WebAddressStatus:input_type -> order.StatusAddressRequest
|
||||
7, // 5: order.order.WebAddressDef:input_type -> order.IdRequest
|
||||
5, // 6: order.order.WebAddressItems:input_type -> order.EmptyRequest
|
||||
5, // 7: order.order.WebCart:input_type -> order.EmptyRequest
|
||||
6, // 8: order.order.WebCartEdit:input_type -> order.EditCartRequest
|
||||
8, // 9: order.order.AddressItem:input_type -> order.AddressItemsRequest
|
||||
9, // 10: order.order.OrderAuditingItems:input_type -> order.OrderAuditingItemsRequest
|
||||
10, // 11: order.order.OrderAuditing:input_type -> order.OrderAuditingRequest
|
||||
11, // 12: order.order.OrderCreate:input_type -> order.AdminCreateOrderRequest
|
||||
1, // 13: order.order.Items:output_type -> order.Response
|
||||
1, // 14: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 15: order.order.WebAddressCreate:output_type -> order.Response
|
||||
1, // 16: order.order.WebAddressEdit:output_type -> order.Response
|
||||
1, // 17: order.order.WebAddressStatus:output_type -> order.Response
|
||||
1, // 18: order.order.WebAddressDef:output_type -> order.Response
|
||||
1, // 19: order.order.WebAddressItems:output_type -> order.Response
|
||||
1, // 20: order.order.WebCart:output_type -> order.Response
|
||||
1, // 21: order.order.WebCartEdit:output_type -> order.Response
|
||||
1, // 22: order.order.AddressItem:output_type -> order.Response
|
||||
1, // 23: order.order.OrderAuditingItems:output_type -> order.Response
|
||||
1, // 24: order.order.OrderAuditing:output_type -> order.Response
|
||||
1, // 25: order.order.OrderCreate:output_type -> order.Response
|
||||
13, // [13:26] is the sub-list for method output_type
|
||||
0, // [0:13] is the sub-list for method input_type
|
||||
3, // 2: order.order.WebCreateOne:input_type -> order.CreateOrderOneRequest
|
||||
4, // 3: order.order.WebAddressCreate:input_type -> order.EditAddressRequest
|
||||
4, // 4: order.order.WebAddressEdit:input_type -> order.EditAddressRequest
|
||||
10, // 5: order.order.WebAddressDel:input_type -> order.IdAndTypeRequest
|
||||
10, // 6: order.order.WebAddressDef:input_type -> order.IdAndTypeRequest
|
||||
10, // 7: order.order.WebAddressInfo:input_type -> order.IdAndTypeRequest
|
||||
11, // 8: order.order.WebAddressItems:input_type -> order.TypeRequest
|
||||
8, // 9: order.order.WebCart:input_type -> order.CartRequest
|
||||
7, // 10: order.order.WebCartEdit:input_type -> order.EditCartRequest
|
||||
12, // 11: order.order.AddressItem:input_type -> order.AddressItemsRequest
|
||||
13, // 12: order.order.OrderAuditingItems:input_type -> order.OrderAuditingItemsRequest
|
||||
14, // 13: order.order.OrderAuditing:input_type -> order.OrderAuditingRequest
|
||||
15, // 14: order.order.OrderCreate:input_type -> order.AdminCreateOrderRequest
|
||||
1, // 15: order.order.Items:output_type -> order.Response
|
||||
1, // 16: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 17: order.order.WebCreateOne:output_type -> order.Response
|
||||
1, // 18: order.order.WebAddressCreate:output_type -> order.Response
|
||||
1, // 19: order.order.WebAddressEdit:output_type -> order.Response
|
||||
1, // 20: order.order.WebAddressDel:output_type -> order.Response
|
||||
1, // 21: order.order.WebAddressDef:output_type -> order.Response
|
||||
1, // 22: order.order.WebAddressInfo:output_type -> order.Response
|
||||
1, // 23: order.order.WebAddressItems:output_type -> order.Response
|
||||
1, // 24: order.order.WebCart:output_type -> order.Response
|
||||
1, // 25: order.order.WebCartEdit:output_type -> order.Response
|
||||
1, // 26: order.order.AddressItem:output_type -> order.Response
|
||||
1, // 27: order.order.OrderAuditingItems:output_type -> order.Response
|
||||
1, // 28: order.order.OrderAuditing:output_type -> order.Response
|
||||
1, // 29: order.order.OrderCreate:output_type -> order.Response
|
||||
15, // [15:30] is the sub-list for method output_type
|
||||
0, // [0:15] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
@@ -940,7 +1189,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: 12,
|
||||
NumMessages: 16,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user