获取订单rpc
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 20s
CI / bff (push) Successful in 15s
CI / chore (push) Successful in 17s
CI / equipment (push) Successful in 15s
CI / express (push) Successful in 16s
CI / product (push) Successful in 15s
CI / record (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 15s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
CI / changes (push) Successful in 38s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 20s
CI / bff (push) Successful in 15s
CI / chore (push) Successful in 17s
CI / equipment (push) Successful in 15s
CI / express (push) Successful in 16s
CI / product (push) Successful in 15s
CI / record (push) Successful in 15s
CI / sale (push) Successful in 16s
CI / task (push) Successful in 15s
CI / user (push) Successful in 16s
CI / wecom (push) Successful in 16s
This commit is contained in:
+334
-95
@@ -1158,6 +1158,126 @@ func (x *UpdateOrderDeliverStatusRequest) GetId() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type UpdateOrderPayStatusRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OrderSn string `protobuf:"bytes,1,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||
PayPrice float64 `protobuf:"fixed64,3,opt,name=pay_price,json=payPrice,proto3" json:"pay_price,omitempty"`
|
||||
RemitNo string `protobuf:"bytes,4,opt,name=remit_no,json=remitNo,proto3" json:"remit_no,omitempty"`
|
||||
Type int32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) Reset() {
|
||||
*x = UpdateOrderPayStatusRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateOrderPayStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[18]
|
||||
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 UpdateOrderPayStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateOrderPayStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetOrderSn() string {
|
||||
if x != nil {
|
||||
return x.OrderSn
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetStatus() int32 {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetPayPrice() float64 {
|
||||
if x != nil {
|
||||
return x.PayPrice
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetRemitNo() string {
|
||||
if x != nil {
|
||||
return x.RemitNo
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusRequest) GetType() int32 {
|
||||
if x != nil {
|
||||
return x.Type
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateOrderPayStatusResponse 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 *UpdateOrderPayStatusResponse) Reset() {
|
||||
*x = UpdateOrderPayStatusResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UpdateOrderPayStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateOrderPayStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[19]
|
||||
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 UpdateOrderPayStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateOrderPayStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *UpdateOrderPayStatusResponse) GetId() int64 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type UpdateOrderDeliverStatusResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Num int32 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
|
||||
@@ -1167,7 +1287,7 @@ type UpdateOrderDeliverStatusResponse struct {
|
||||
|
||||
func (x *UpdateOrderDeliverStatusResponse) Reset() {
|
||||
*x = UpdateOrderDeliverStatusResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[18]
|
||||
mi := &file_order_order_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1179,7 +1299,7 @@ func (x *UpdateOrderDeliverStatusResponse) String() string {
|
||||
func (*UpdateOrderDeliverStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UpdateOrderDeliverStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[18]
|
||||
mi := &file_order_order_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1192,7 +1312,7 @@ func (x *UpdateOrderDeliverStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use UpdateOrderDeliverStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UpdateOrderDeliverStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{18}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *UpdateOrderDeliverStatusResponse) GetNum() int32 {
|
||||
@@ -1204,8 +1324,8 @@ func (x *UpdateOrderDeliverStatusResponse) GetNum() int32 {
|
||||
|
||||
type GetOrderInfoRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"`
|
||||
OrderSn string `protobuf:"bytes,2,opt,name=OrderSn,proto3" json:"OrderSn,omitempty"`
|
||||
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
OrderSn string `protobuf:"bytes,2,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1213,7 +1333,7 @@ type GetOrderInfoRequest struct {
|
||||
|
||||
func (x *GetOrderInfoRequest) Reset() {
|
||||
*x = GetOrderInfoRequest{}
|
||||
mi := &file_order_order_proto_msgTypes[19]
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1225,7 +1345,7 @@ func (x *GetOrderInfoRequest) String() string {
|
||||
func (*GetOrderInfoRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetOrderInfoRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[19]
|
||||
mi := &file_order_order_proto_msgTypes[21]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1238,7 +1358,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{19}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *GetOrderInfoRequest) GetUserId() int64 {
|
||||
@@ -1263,40 +1383,41 @@ func (x *GetOrderInfoRequest) GetType() int32 {
|
||||
}
|
||||
|
||||
type OrderInfoResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
OrderSn string `protobuf:"bytes,2,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
StoreId int64 `protobuf:"varint,3,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
|
||||
StoreName string `protobuf:"bytes,4,opt,name=store_name,json=storeName,proto3" json:"store_name,omitempty"`
|
||||
SaleName string `protobuf:"bytes,5,opt,name=sale_name,json=saleName,proto3" json:"sale_name,omitempty"`
|
||||
SaleMobile string `protobuf:"bytes,6,opt,name=sale_mobile,json=saleMobile,proto3" json:"sale_mobile,omitempty"`
|
||||
UserId int64 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
UserName string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
||||
SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
||||
Mobile string `protobuf:"bytes,10,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
|
||||
Addressee string `protobuf:"bytes,12,opt,name=addressee,proto3" json:"addressee,omitempty"`
|
||||
DistrictIds string `protobuf:"bytes,13,opt,name=district_ids,json=districtIds,proto3" json:"district_ids,omitempty"`
|
||||
TotalPrice float64 `protobuf:"fixed64,14,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
|
||||
PayPrice float64 `protobuf:"fixed64,15,opt,name=pay_price,json=payPrice,proto3" json:"pay_price,omitempty"`
|
||||
PayType int32 `protobuf:"varint,16,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"`
|
||||
DeliverStatus int32 `protobuf:"varint,17,opt,name=deliver_status,json=deliverStatus,proto3" json:"deliver_status,omitempty"`
|
||||
Status int32 `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty"`
|
||||
IsSupply int32 `protobuf:"varint,19,opt,name=is_supply,json=isSupply,proto3" json:"is_supply,omitempty"`
|
||||
Note string `protobuf:"bytes,20,opt,name=note,proto3" json:"note,omitempty"`
|
||||
ProductIds string `protobuf:"bytes,21,opt,name=product_ids,json=productIds,proto3" json:"product_ids,omitempty"`
|
||||
OutTradeNo string `protobuf:"bytes,22,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
|
||||
Type int32 `protobuf:"varint,23,opt,name=type,proto3" json:"type,omitempty"`
|
||||
VerifyStatus int32 `protobuf:"varint,24,opt,name=verify_status,json=verifyStatus,proto3" json:"verify_status,omitempty"`
|
||||
CreateType int32 `protobuf:"varint,25,opt,name=create_type,json=createType,proto3" json:"create_type,omitempty"`
|
||||
RefundStatus int32 `protobuf:"varint,26,opt,name=refund_status,json=refundStatus,proto3" json:"refund_status,omitempty"`
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
OrderSn string `protobuf:"bytes,2,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
StoreId int64 `protobuf:"varint,3,opt,name=store_id,json=storeId,proto3" json:"store_id,omitempty"`
|
||||
StoreName string `protobuf:"bytes,4,opt,name=store_name,json=storeName,proto3" json:"store_name,omitempty"`
|
||||
SaleName string `protobuf:"bytes,5,opt,name=sale_name,json=saleName,proto3" json:"sale_name,omitempty"`
|
||||
SaleMobile string `protobuf:"bytes,6,opt,name=sale_mobile,json=saleMobile,proto3" json:"sale_mobile,omitempty"`
|
||||
UserId int64 `protobuf:"varint,7,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
UserName string `protobuf:"bytes,8,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
|
||||
SaleId int64 `protobuf:"varint,9,opt,name=sale_id,json=saleId,proto3" json:"sale_id,omitempty"`
|
||||
Mobile string `protobuf:"bytes,10,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
Address string `protobuf:"bytes,11,opt,name=address,proto3" json:"address,omitempty"`
|
||||
Addressee string `protobuf:"bytes,12,opt,name=addressee,proto3" json:"addressee,omitempty"`
|
||||
DistrictIds string `protobuf:"bytes,13,opt,name=district_ids,json=districtIds,proto3" json:"district_ids,omitempty"`
|
||||
TotalPrice float64 `protobuf:"fixed64,14,opt,name=total_price,json=totalPrice,proto3" json:"total_price,omitempty"`
|
||||
PayPrice float64 `protobuf:"fixed64,15,opt,name=pay_price,json=payPrice,proto3" json:"pay_price,omitempty"`
|
||||
PayType int32 `protobuf:"varint,16,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"`
|
||||
DeliverStatus int32 `protobuf:"varint,17,opt,name=deliver_status,json=deliverStatus,proto3" json:"deliver_status,omitempty"`
|
||||
Status int32 `protobuf:"varint,18,opt,name=status,proto3" json:"status,omitempty"`
|
||||
IsSupply int32 `protobuf:"varint,19,opt,name=is_supply,json=isSupply,proto3" json:"is_supply,omitempty"`
|
||||
Note string `protobuf:"bytes,20,opt,name=note,proto3" json:"note,omitempty"`
|
||||
ProductIds string `protobuf:"bytes,21,opt,name=product_ids,json=productIds,proto3" json:"product_ids,omitempty"`
|
||||
OutTradeNo string `protobuf:"bytes,22,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
|
||||
Type int32 `protobuf:"varint,23,opt,name=type,proto3" json:"type,omitempty"`
|
||||
VerifyStatus int32 `protobuf:"varint,24,opt,name=verify_status,json=verifyStatus,proto3" json:"verify_status,omitempty"`
|
||||
CreateType int32 `protobuf:"varint,25,opt,name=create_type,json=createType,proto3" json:"create_type,omitempty"`
|
||||
RefundStatus int32 `protobuf:"varint,26,opt,name=refund_status,json=refundStatus,proto3" json:"refund_status,omitempty"`
|
||||
ProductItems []*ProductItemsResponse `protobuf:"bytes,27,rep,name=product_items,json=productItems,proto3" json:"product_items,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *OrderInfoResponse) Reset() {
|
||||
*x = OrderInfoResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[20]
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -1308,7 +1429,7 @@ func (x *OrderInfoResponse) String() string {
|
||||
func (*OrderInfoResponse) ProtoMessage() {}
|
||||
|
||||
func (x *OrderInfoResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[20]
|
||||
mi := &file_order_order_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -1321,7 +1442,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{20}
|
||||
return file_order_order_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *OrderInfoResponse) GetId() int64 {
|
||||
@@ -1506,6 +1627,97 @@ func (x *OrderInfoResponse) GetRefundStatus() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *OrderInfoResponse) GetProductItems() []*ProductItemsResponse {
|
||||
if x != nil {
|
||||
return x.ProductItems
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ProductItemsResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
OrderSn string `protobuf:"bytes,2,opt,name=order_sn,json=orderSn,proto3" json:"order_sn,omitempty"`
|
||||
ProductId int64 `protobuf:"varint,3,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"`
|
||||
ProductName string `protobuf:"bytes,4,opt,name=product_name,json=productName,proto3" json:"product_name,omitempty"`
|
||||
Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
|
||||
Number int32 `protobuf:"varint,6,opt,name=number,proto3" json:"number,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) Reset() {
|
||||
*x = ProductItemsResponse{}
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*ProductItemsResponse) ProtoMessage() {}
|
||||
|
||||
func (x *ProductItemsResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_order_order_proto_msgTypes[23]
|
||||
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 ProductItemsResponse.ProtoReflect.Descriptor instead.
|
||||
func (*ProductItemsResponse) Descriptor() ([]byte, []int) {
|
||||
return file_order_order_proto_rawDescGZIP(), []int{23}
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetId() int64 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetOrderSn() string {
|
||||
if x != nil {
|
||||
return x.OrderSn
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetProductId() int64 {
|
||||
if x != nil {
|
||||
return x.ProductId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetProductName() string {
|
||||
if x != nil {
|
||||
return x.ProductName
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetPrice() float64 {
|
||||
if x != nil {
|
||||
return x.Price
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ProductItemsResponse) GetNumber() int32 {
|
||||
if x != nil {
|
||||
return x.Number
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_order_order_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_order_order_proto_rawDesc = "" +
|
||||
@@ -1595,13 +1807,21 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\x1fUpdateOrderDeliverStatusRequest\x12\x1b\n" +
|
||||
"\tsign_time\x18\x01 \x01(\tR\bsignTime\x12%\n" +
|
||||
"\x0edeliver_status\x18\x02 \x01(\x05R\rdeliverStatus\x12\x0e\n" +
|
||||
"\x02id\x18\x03 \x01(\tR\x02id\"4\n" +
|
||||
"\x02id\x18\x03 \x01(\tR\x02id\"\x9c\x01\n" +
|
||||
"\x1bUpdateOrderPayStatusRequest\x12\x19\n" +
|
||||
"\border_sn\x18\x01 \x01(\tR\aorderSn\x12\x16\n" +
|
||||
"\x06status\x18\x02 \x01(\x05R\x06status\x12\x1b\n" +
|
||||
"\tpay_price\x18\x03 \x01(\x01R\bpayPrice\x12\x19\n" +
|
||||
"\bremit_no\x18\x04 \x01(\tR\aremitNo\x12\x12\n" +
|
||||
"\x04type\x18\x05 \x01(\x05R\x04type\".\n" +
|
||||
"\x1cUpdateOrderPayStatusResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"4\n" +
|
||||
" UpdateOrderDeliverStatusResponse\x12\x10\n" +
|
||||
"\x03num\x18\x01 \x01(\x05R\x03num\"[\n" +
|
||||
"\x13GetOrderInfoRequest\x12\x16\n" +
|
||||
"\x06userId\x18\x01 \x01(\x03R\x06userId\x12\x18\n" +
|
||||
"\aOrderSn\x18\x02 \x01(\tR\aOrderSn\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\x05R\x04type\"\x83\x06\n" +
|
||||
"\x03num\x18\x01 \x01(\x05R\x03num\"]\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" +
|
||||
"\x04type\x18\x03 \x01(\x05R\x04type\"\xc5\x06\n" +
|
||||
"\x11OrderInfoResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x19\n" +
|
||||
"\border_sn\x18\x02 \x01(\tR\aorderSn\x12\x19\n" +
|
||||
@@ -1635,7 +1855,16 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\rverify_status\x18\x18 \x01(\x05R\fverifyStatus\x12\x1f\n" +
|
||||
"\vcreate_type\x18\x19 \x01(\x05R\n" +
|
||||
"createType\x12#\n" +
|
||||
"\rrefund_status\x18\x1a \x01(\x05R\frefundStatus2\x8b\x0e\n" +
|
||||
"\rrefund_status\x18\x1a \x01(\x05R\frefundStatus\x12@\n" +
|
||||
"\rproduct_items\x18\x1b \x03(\v2\x1b.order.ProductItemsResponseR\fproductItems\"\xb1\x01\n" +
|
||||
"\x14ProductItemsResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x19\n" +
|
||||
"\border_sn\x18\x02 \x01(\tR\aorderSn\x12\x1d\n" +
|
||||
"\n" +
|
||||
"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\xbe\x0f\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" +
|
||||
@@ -1653,9 +1882,11 @@ const file_order_order_proto_rawDesc = "" +
|
||||
"\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/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\x12k\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" +
|
||||
"\x18UpdateOrderDeliverStatus\x12&.order.UpdateOrderDeliverStatusRequest\x1a'.order.UpdateOrderDeliverStatusResponse\x12D\n" +
|
||||
"\fGetOrderInfo\x12\x1a.order.GetOrderInfoRequest\x1a\x18.order.OrderInfoResponseB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
||||
"\fGetOrderInfo\x12\x1a.order.GetOrderInfoRequest\x1a\x18.order.OrderInfoResponse\x12`\n" +
|
||||
"\x15UpdateOrderDPayStatus\x12\".order.UpdateOrderPayStatusRequest\x1a#.order.UpdateOrderPayStatusResponseB\x19Z\x17lone-services/rpc/orderb\x06proto3"
|
||||
|
||||
var (
|
||||
file_order_order_proto_rawDescOnce sync.Once
|
||||
@@ -1669,7 +1900,7 @@ func file_order_order_proto_rawDescGZIP() []byte {
|
||||
return file_order_order_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_order_order_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
|
||||
var file_order_order_proto_goTypes = []any{
|
||||
(*OrderItemsRequest)(nil), // 0: order.OrderItemsRequest
|
||||
(*Response)(nil), // 1: order.Response
|
||||
@@ -1689,54 +1920,62 @@ var file_order_order_proto_goTypes = []any{
|
||||
(*OrderAuditingRequest)(nil), // 15: order.OrderAuditingRequest
|
||||
(*AdminCreateOrderRequest)(nil), // 16: order.AdminCreateOrderRequest
|
||||
(*UpdateOrderDeliverStatusRequest)(nil), // 17: order.UpdateOrderDeliverStatusRequest
|
||||
(*UpdateOrderDeliverStatusResponse)(nil), // 18: order.UpdateOrderDeliverStatusResponse
|
||||
(*GetOrderInfoRequest)(nil), // 19: order.GetOrderInfoRequest
|
||||
(*OrderInfoResponse)(nil), // 20: order.OrderInfoResponse
|
||||
(*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
|
||||
}
|
||||
var file_order_order_proto_depIdxs = []int32{
|
||||
0, // 0: order.order.Items:input_type -> order.OrderItemsRequest
|
||||
3, // 1: order.order.WebCreate:input_type -> order.CreateOrderRequest
|
||||
4, // 2: order.order.WebCreateOne:input_type -> order.CreateOrderOneRequest
|
||||
5, // 3: order.order.WebAddressCreate:input_type -> order.EditAddressRequest
|
||||
5, // 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.AddressByStore:input_type -> order.AddressByStoreItemsRequest
|
||||
14, // 13: order.order.OrderAuditingItems:input_type -> order.OrderAuditingItemsRequest
|
||||
15, // 14: order.order.OrderAuditing:input_type -> order.OrderAuditingRequest
|
||||
16, // 15: order.order.OrderCreate:input_type -> order.AdminCreateOrderRequest
|
||||
0, // 16: order.order.OrderDown:input_type -> order.OrderItemsRequest
|
||||
17, // 17: order.order.UpdateOrderDeliverStatus:input_type -> order.UpdateOrderDeliverStatusRequest
|
||||
19, // 18: order.order.GetOrderInfo:input_type -> order.GetOrderInfoRequest
|
||||
1, // 19: order.order.Items:output_type -> order.Response
|
||||
1, // 20: order.order.WebCreate:output_type -> order.Response
|
||||
1, // 21: order.order.WebCreateOne:output_type -> order.Response
|
||||
1, // 22: order.order.WebAddressCreate:output_type -> order.Response
|
||||
1, // 23: order.order.WebAddressEdit:output_type -> order.Response
|
||||
1, // 24: order.order.WebAddressDel:output_type -> order.Response
|
||||
1, // 25: order.order.WebAddressDef:output_type -> order.Response
|
||||
1, // 26: order.order.WebAddressInfo:output_type -> order.Response
|
||||
1, // 27: order.order.WebAddressItems:output_type -> order.Response
|
||||
1, // 28: order.order.WebCart:output_type -> order.Response
|
||||
1, // 29: order.order.WebCartEdit: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
|
||||
18, // 36: order.order.UpdateOrderDeliverStatus:output_type -> order.UpdateOrderDeliverStatusResponse
|
||||
20, // 37: order.order.GetOrderInfo:output_type -> order.OrderInfoResponse
|
||||
19, // [19:38] is the sub-list for method output_type
|
||||
0, // [0:19] 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
|
||||
23, // 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
|
||||
5, // 4: order.order.WebAddressCreate:input_type -> order.EditAddressRequest
|
||||
5, // 5: order.order.WebAddressEdit:input_type -> order.EditAddressRequest
|
||||
10, // 6: order.order.WebAddressDel:input_type -> order.IdAndTypeRequest
|
||||
10, // 7: order.order.WebAddressDef:input_type -> order.IdAndTypeRequest
|
||||
10, // 8: order.order.WebAddressInfo:input_type -> order.IdAndTypeRequest
|
||||
11, // 9: order.order.WebAddressItems:input_type -> order.TypeRequest
|
||||
8, // 10: order.order.WebCart:input_type -> order.CartRequest
|
||||
7, // 11: order.order.WebCartEdit:input_type -> order.EditCartRequest
|
||||
12, // 12: order.order.AddressItem:input_type -> order.AddressItemsRequest
|
||||
13, // 13: order.order.AddressByStore:input_type -> order.AddressByStoreItemsRequest
|
||||
14, // 14: order.order.OrderAuditingItems:input_type -> order.OrderAuditingItemsRequest
|
||||
15, // 15: order.order.OrderAuditing:input_type -> order.OrderAuditingRequest
|
||||
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.UpdateOrderDPayStatus: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.UpdateOrderDPayStatus: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
|
||||
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
|
||||
}
|
||||
|
||||
func init() { file_order_order_proto_init() }
|
||||
@@ -1750,7 +1989,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: 21,
|
||||
NumMessages: 24,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user