c33fbdb422
CI / changes (push) Successful in 4s
CI / docker-bff (push) Successful in 3m21s
CI / docker-product (push) Successful in 3m39s
CI / docker-admin (push) Successful in 3m34s
CI / docker-user (push) Successful in 3m29s
CI / docker-ad (push) Successful in 3m29s
946 lines
29 KiB
Go
946 lines
29 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v4.25.8
|
|
// source: order/order.proto
|
|
|
|
package order
|
|
|
|
import (
|
|
_ "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 (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type OrderItemsRequest 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"`
|
|
ProductId int64 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
|
OrderSn string `protobuf:"bytes,4,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
|
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"`
|
|
Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderItemsRequest) Reset() {
|
|
*x = OrderItemsRequest{}
|
|
mi := &file_order_order_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *OrderItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use OrderItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*OrderItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetProductId() int64 {
|
|
if x != nil {
|
|
return x.ProductId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetOrderSn() string {
|
|
if x != nil {
|
|
return x.OrderSn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetStoreId() int64 {
|
|
if x != nil {
|
|
return x.StoreId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetTime() string {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OrderItemsRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Response) Reset() {
|
|
*x = Response{}
|
|
mi := &file_order_order_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Response) ProtoMessage() {}
|
|
|
|
func (x *Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Response.ProtoReflect.Descriptor instead.
|
|
func (*Response) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Response) GetCode() int32 {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Response) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Response) GetData() string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateOrderRequest 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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateOrderRequest) Reset() {
|
|
*x = CreateOrderRequest{}
|
|
mi := &file_order_order_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateOrderRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetAddressId() int64 {
|
|
if x != nil {
|
|
return x.AddressId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateOrderRequest) GetNote() string {
|
|
if x != nil {
|
|
return x.Note
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EditAddressRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
District string `protobuf:"bytes,1,opt,name=district,proto3" json:"district,omitempty"`
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Mobile string `protobuf:"bytes,4,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
DistrictIds string `protobuf:"bytes,5,opt,name=district_ids,json=districtIds,proto3" json:"district_ids,omitempty"`
|
|
Default bool `protobuf:"varint,6,opt,name=default,proto3" json:"default,omitempty"`
|
|
Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EditAddressRequest) Reset() {
|
|
*x = EditAddressRequest{}
|
|
mi := &file_order_order_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EditAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EditAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *EditAddressRequest) 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 EditAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*EditAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetDistrict() string {
|
|
if x != nil {
|
|
return x.District
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetDistrictIds() string {
|
|
if x != nil {
|
|
return x.DistrictIds
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetDefault() bool {
|
|
if x != nil {
|
|
return x.Default
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EditAddressRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StatusAddressRequest) Reset() {
|
|
*x = StatusAddressRequest{}
|
|
mi := &file_order_order_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StatusAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StatusAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *StatusAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StatusAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*StatusAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *StatusAddressRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *StatusAddressRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type EmptyRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EmptyRequest) Reset() {
|
|
*x = EmptyRequest{}
|
|
mi := &file_order_order_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EmptyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EmptyRequest) ProtoMessage() {}
|
|
|
|
func (x *EmptyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[5]
|
|
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 EmptyRequest.ProtoReflect.Descriptor instead.
|
|
func (*EmptyRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type EditCartRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *EditCartRequest) Reset() {
|
|
*x = EditCartRequest{}
|
|
mi := &file_order_order_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EditCartRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EditCartRequest) ProtoMessage() {}
|
|
|
|
func (x *EditCartRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[6]
|
|
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 EditCartRequest.ProtoReflect.Descriptor instead.
|
|
func (*EditCartRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *EditCartRequest) GetInfo() string {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type IdRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IdRequest) Reset() {
|
|
*x = IdRequest{}
|
|
mi := &file_order_order_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IdRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IdRequest) ProtoMessage() {}
|
|
|
|
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[7]
|
|
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 IdRequest.ProtoReflect.Descriptor instead.
|
|
func (*IdRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *IdRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AddressItemsRequest 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"`
|
|
DistrictId int64 `protobuf:"varint,3,opt,name=district_id,json=districtId,proto3" json:"district_id,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AddressItemsRequest) Reset() {
|
|
*x = AddressItemsRequest{}
|
|
mi := &file_order_order_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AddressItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddressItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *AddressItemsRequest) 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 AddressItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*AddressItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetDistrictId() int64 {
|
|
if x != nil {
|
|
return x.DistrictId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetMobile() string {
|
|
if x != nil {
|
|
return x.Mobile
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetStoreId() int64 {
|
|
if x != nil {
|
|
return x.StoreId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetSaleId() int64 {
|
|
if x != nil {
|
|
return x.SaleId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddressItemsRequest) GetTime() string {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type OrderAuditingItemsRequest 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"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *OrderAuditingItemsRequest) Reset() {
|
|
*x = OrderAuditingItemsRequest{}
|
|
mi := &file_order_order_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderAuditingItemsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderAuditingItemsRequest) ProtoMessage() {}
|
|
|
|
func (x *OrderAuditingItemsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_order_order_proto_msgTypes[9]
|
|
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 OrderAuditingItemsRequest.ProtoReflect.Descriptor instead.
|
|
func (*OrderAuditingItemsRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *OrderAuditingItemsRequest) GetPage() int32 {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderAuditingItemsRequest) GetSize() int32 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OrderAuditingRequest 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 *OrderAuditingRequest) Reset() {
|
|
*x = OrderAuditingRequest{}
|
|
mi := &file_order_order_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *OrderAuditingRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OrderAuditingRequest) ProtoMessage() {}
|
|
|
|
func (x *OrderAuditingRequest) 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 OrderAuditingRequest.ProtoReflect.Descriptor instead.
|
|
func (*OrderAuditingRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *OrderAuditingRequest) GetId() int64 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderAuditingRequest) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OrderAuditingRequest) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AdminCreateOrderRequest 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"`
|
|
Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AdminCreateOrderRequest) Reset() {
|
|
*x = AdminCreateOrderRequest{}
|
|
mi := &file_order_order_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AdminCreateOrderRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AdminCreateOrderRequest) ProtoMessage() {}
|
|
|
|
func (x *AdminCreateOrderRequest) 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 AdminCreateOrderRequest.ProtoReflect.Descriptor instead.
|
|
func (*AdminCreateOrderRequest) Descriptor() ([]byte, []int) {
|
|
return file_order_order_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *AdminCreateOrderRequest) GetAddressId() int64 {
|
|
if x != nil {
|
|
return x.AddressId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AdminCreateOrderRequest) GetNote() string {
|
|
if x != nil {
|
|
return x.Note
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AdminCreateOrderRequest) GetInfo() string {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_order_order_proto protoreflect.FileDescriptor
|
|
|
|
const file_order_order_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x11order/order.proto\x12\x05order\x1a\x1cgoogle/api/annotations.proto\"\xed\x01\n" +
|
|
"\x11OrderItemsRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x1d\n" +
|
|
"\n" +
|
|
"product_id\x18\x03 \x01(\x03R\tproductId\x12\x19\n" +
|
|
"\border_sn\x18\x04 \x01(\tR\aorderSn\x12\x16\n" +
|
|
"\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\x12\x16\n" +
|
|
"\x06status\x18\t \x01(\x05R\x06status\"D\n" +
|
|
"\bResponse\x12\x12\n" +
|
|
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
|
|
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
|
|
"\x04data\x18\x03 \x01(\tR\x04data\"G\n" +
|
|
"\x12CreateOrderRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"address_id\x18\x01 \x01(\x03R\taddressId\x12\x12\n" +
|
|
"\x04note\x18\x02 \x01(\tR\x04note\"\xc3\x01\n" +
|
|
"\x12EditAddressRequest\x12\x1a\n" +
|
|
"\bdistrict\x18\x01 \x01(\tR\bdistrict\x12\x18\n" +
|
|
"\aaddress\x18\x02 \x01(\tR\aaddress\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x16\n" +
|
|
"\x06mobile\x18\x04 \x01(\tR\x06mobile\x12!\n" +
|
|
"\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\">\n" +
|
|
"\x14StatusAddressRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\"\x0e\n" +
|
|
"\fEmptyRequest\"%\n" +
|
|
"\x0fEditCartRequest\x12\x12\n" +
|
|
"\x04info\x18\x01 \x01(\tR\x04info\"\x1b\n" +
|
|
"\tIdRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\"\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" +
|
|
"\vdistrict_id\x18\x03 \x01(\x03R\n" +
|
|
"districtId\x12\x12\n" +
|
|
"\x04name\x18\x04 \x01(\tR\x04name\x12\x16\n" +
|
|
"\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" +
|
|
"\x19OrderAuditingItemsRequest\x12\x12\n" +
|
|
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
|
|
"\x04size\x18\x02 \x01(\x05R\x04size\"V\n" +
|
|
"\x14OrderAuditingRequest\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
|
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x16\n" +
|
|
"\x06reason\x18\x03 \x01(\tR\x06reason\"`\n" +
|
|
"\x17AdminCreateOrderRequest\x12\x1d\n" +
|
|
"\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" +
|
|
"\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" +
|
|
"\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" +
|
|
"\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" +
|
|
"\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/createB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
|
|
|
var (
|
|
file_order_order_proto_rawDescOnce sync.Once
|
|
file_order_order_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_order_order_proto_rawDescGZIP() []byte {
|
|
file_order_order_proto_rawDescOnce.Do(func() {
|
|
file_order_order_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_order_order_proto_rawDesc), len(file_order_order_proto_rawDesc)))
|
|
})
|
|
return file_order_order_proto_rawDescData
|
|
}
|
|
|
|
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
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
|
|
}
|
|
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
|
|
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
|
|
}
|
|
|
|
func init() { file_order_order_proto_init() }
|
|
func file_order_order_proto_init() {
|
|
if File_order_order_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
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,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_order_order_proto_goTypes,
|
|
DependencyIndexes: file_order_order_proto_depIdxs,
|
|
MessageInfos: file_order_order_proto_msgTypes,
|
|
}.Build()
|
|
File_order_order_proto = out.File
|
|
file_order_order_proto_goTypes = nil
|
|
file_order_order_proto_depIdxs = nil
|
|
}
|