订单下载。jd下单。。
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 17s
CI / bff (push) Successful in 13s
CI / chore (push) Successful in 15s
CI / equipment (push) Successful in 14s
CI / express (push) Successful in 14s
CI / product (push) Successful in 13s
CI / record (push) Successful in 13s
CI / sale (push) Successful in 13s
CI / task (push) Successful in 13s
CI / user (push) Successful in 14s
CI / wecom (push) Successful in 13s
CI / changes (push) Successful in 37s
CI / ad (push) Successful in 29s
CI / admin (push) Successful in 17s
CI / bff (push) Successful in 13s
CI / chore (push) Successful in 15s
CI / equipment (push) Successful in 14s
CI / express (push) Successful in 14s
CI / product (push) Successful in 13s
CI / record (push) Successful in 13s
CI / sale (push) Successful in 13s
CI / task (push) Successful in 13s
CI / user (push) Successful in 14s
CI / wecom (push) Successful in 13s
This commit is contained in:
Binary file not shown.
@@ -23,6 +23,13 @@ message IdResponse {
|
||||
message EmtpyRequest {
|
||||
}
|
||||
|
||||
message JdRequest {
|
||||
string app_code = 1;
|
||||
string timestamp = 2;
|
||||
string sign =3;
|
||||
string path=4;
|
||||
}
|
||||
|
||||
message CreateRequest {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
@@ -161,7 +168,7 @@ service Express {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc ExpressJdBack(EmtpyRequest) returns(Response){
|
||||
rpc ExpressJdBack(JdRequest) returns(SfResponse){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/express/jd"
|
||||
body: "*"
|
||||
|
||||
+133
-59
@@ -214,6 +214,74 @@ func (*EmtpyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
type JdRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AppCode string `protobuf:"bytes,1,opt,name=app_code,json=appCode,proto3" json:"app_code,omitempty"`
|
||||
Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||
Sign string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`
|
||||
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *JdRequest) Reset() {
|
||||
*x = JdRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *JdRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*JdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *JdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_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 JdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*JdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *JdRequest) GetAppCode() string {
|
||||
if x != nil {
|
||||
return x.AppCode
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *JdRequest) GetTimestamp() string {
|
||||
if x != nil {
|
||||
return x.Timestamp
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *JdRequest) GetSign() string {
|
||||
if x != nil {
|
||||
return x.Sign
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *JdRequest) GetPath() string {
|
||||
if x != nil {
|
||||
return x.Path
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type CreateRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
@@ -238,7 +306,7 @@ type CreateRequest struct {
|
||||
|
||||
func (x *CreateRequest) Reset() {
|
||||
*x = CreateRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[4]
|
||||
mi := &file_express_express_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -250,7 +318,7 @@ func (x *CreateRequest) String() string {
|
||||
func (*CreateRequest) ProtoMessage() {}
|
||||
|
||||
func (x *CreateRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[4]
|
||||
mi := &file_express_express_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -263,7 +331,7 @@ func (x *CreateRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
|
||||
func (*CreateRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{4}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *CreateRequest) GetId() int64 {
|
||||
@@ -387,7 +455,7 @@ type IdRequest struct {
|
||||
|
||||
func (x *IdRequest) Reset() {
|
||||
*x = IdRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[5]
|
||||
mi := &file_express_express_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -399,7 +467,7 @@ func (x *IdRequest) String() string {
|
||||
func (*IdRequest) ProtoMessage() {}
|
||||
|
||||
func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[5]
|
||||
mi := &file_express_express_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -412,7 +480,7 @@ func (x *IdRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IdRequest.ProtoReflect.Descriptor instead.
|
||||
func (*IdRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{5}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *IdRequest) GetId() int64 {
|
||||
@@ -433,7 +501,7 @@ type StatusRequest struct {
|
||||
|
||||
func (x *StatusRequest) Reset() {
|
||||
*x = StatusRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[6]
|
||||
mi := &file_express_express_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -445,7 +513,7 @@ func (x *StatusRequest) String() string {
|
||||
func (*StatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[6]
|
||||
mi := &file_express_express_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -458,7 +526,7 @@ func (x *StatusRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*StatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{6}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *StatusRequest) GetId() int64 {
|
||||
@@ -492,7 +560,7 @@ type HistoryRequest struct {
|
||||
|
||||
func (x *HistoryRequest) Reset() {
|
||||
*x = HistoryRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[7]
|
||||
mi := &file_express_express_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -504,7 +572,7 @@ func (x *HistoryRequest) String() string {
|
||||
func (*HistoryRequest) ProtoMessage() {}
|
||||
|
||||
func (x *HistoryRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[7]
|
||||
mi := &file_express_express_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -517,7 +585,7 @@ func (x *HistoryRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use HistoryRequest.ProtoReflect.Descriptor instead.
|
||||
func (*HistoryRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{7}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *HistoryRequest) GetPage() int32 {
|
||||
@@ -554,7 +622,7 @@ type DeliveryOrderCreateRequest struct {
|
||||
|
||||
func (x *DeliveryOrderCreateRequest) Reset() {
|
||||
*x = DeliveryOrderCreateRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[8]
|
||||
mi := &file_express_express_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -566,7 +634,7 @@ func (x *DeliveryOrderCreateRequest) String() string {
|
||||
func (*DeliveryOrderCreateRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeliveryOrderCreateRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[8]
|
||||
mi := &file_express_express_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -579,7 +647,7 @@ func (x *DeliveryOrderCreateRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeliveryOrderCreateRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeliveryOrderCreateRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{8}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *DeliveryOrderCreateRequest) GetObjId() string {
|
||||
@@ -679,7 +747,7 @@ type DeliverOrderProductInfo struct {
|
||||
|
||||
func (x *DeliverOrderProductInfo) Reset() {
|
||||
*x = DeliverOrderProductInfo{}
|
||||
mi := &file_express_express_proto_msgTypes[9]
|
||||
mi := &file_express_express_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -691,7 +759,7 @@ func (x *DeliverOrderProductInfo) String() string {
|
||||
func (*DeliverOrderProductInfo) ProtoMessage() {}
|
||||
|
||||
func (x *DeliverOrderProductInfo) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[9]
|
||||
mi := &file_express_express_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -704,7 +772,7 @@ func (x *DeliverOrderProductInfo) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeliverOrderProductInfo.ProtoReflect.Descriptor instead.
|
||||
func (*DeliverOrderProductInfo) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{9}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *DeliverOrderProductInfo) GetNumber() int32 {
|
||||
@@ -752,7 +820,7 @@ type DeliveringRequest struct {
|
||||
|
||||
func (x *DeliveringRequest) Reset() {
|
||||
*x = DeliveringRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[10]
|
||||
mi := &file_express_express_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -764,7 +832,7 @@ func (x *DeliveringRequest) String() string {
|
||||
func (*DeliveringRequest) ProtoMessage() {}
|
||||
|
||||
func (x *DeliveringRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[10]
|
||||
mi := &file_express_express_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -777,7 +845,7 @@ func (x *DeliveringRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use DeliveringRequest.ProtoReflect.Descriptor instead.
|
||||
func (*DeliveringRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{10}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *DeliveringRequest) GetTransitId() int64 {
|
||||
@@ -803,7 +871,7 @@ type ExpressCompanyRequest struct {
|
||||
|
||||
func (x *ExpressCompanyRequest) Reset() {
|
||||
*x = ExpressCompanyRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[11]
|
||||
mi := &file_express_express_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -815,7 +883,7 @@ func (x *ExpressCompanyRequest) String() string {
|
||||
func (*ExpressCompanyRequest) ProtoMessage() {}
|
||||
|
||||
func (x *ExpressCompanyRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[11]
|
||||
mi := &file_express_express_proto_msgTypes[12]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -828,7 +896,7 @@ func (x *ExpressCompanyRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use ExpressCompanyRequest.ProtoReflect.Descriptor instead.
|
||||
func (*ExpressCompanyRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{11}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *ExpressCompanyRequest) GetCode() string {
|
||||
@@ -848,7 +916,7 @@ type IdApiRequest struct {
|
||||
|
||||
func (x *IdApiRequest) Reset() {
|
||||
*x = IdApiRequest{}
|
||||
mi := &file_express_express_proto_msgTypes[12]
|
||||
mi := &file_express_express_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@@ -860,7 +928,7 @@ func (x *IdApiRequest) String() string {
|
||||
func (*IdApiRequest) ProtoMessage() {}
|
||||
|
||||
func (x *IdApiRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_express_express_proto_msgTypes[12]
|
||||
mi := &file_express_express_proto_msgTypes[13]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@@ -873,7 +941,7 @@ func (x *IdApiRequest) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use IdApiRequest.ProtoReflect.Descriptor instead.
|
||||
func (*IdApiRequest) Descriptor() ([]byte, []int) {
|
||||
return file_express_express_proto_rawDescGZIP(), []int{12}
|
||||
return file_express_express_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *IdApiRequest) GetId() int64 {
|
||||
@@ -908,7 +976,12 @@ const file_express_express_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"IdResponse\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\"\x0e\n" +
|
||||
"\fEmtpyRequest\"\xb5\x03\n" +
|
||||
"\fEmtpyRequest\"l\n" +
|
||||
"\tJdRequest\x12\x19\n" +
|
||||
"\bapp_code\x18\x01 \x01(\tR\aappCode\x12\x1c\n" +
|
||||
"\ttimestamp\x18\x02 \x01(\tR\ttimestamp\x12\x12\n" +
|
||||
"\x04sign\x18\x03 \x01(\tR\x04sign\x12\x12\n" +
|
||||
"\x04path\x18\x04 \x01(\tR\x04path\"\xb5\x03\n" +
|
||||
"\rCreateRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n" +
|
||||
@@ -967,7 +1040,7 @@ const file_express_express_proto_rawDesc = "" +
|
||||
"\x04code\x18\x01 \x01(\tR\x04code\"2\n" +
|
||||
"\fIdApiRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type2\xa1\r\n" +
|
||||
"\x04type\x18\x02 \x01(\x05R\x04type2\xa0\r\n" +
|
||||
"\aExpress\x12U\n" +
|
||||
"\x05Items\x12\x15.express.EmtpyRequest\x1a\x11.express.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/express/items\x12X\n" +
|
||||
"\x06Create\x12\x16.express.CreateRequest\x1a\x11.express.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/admin/v3/express/create\x12T\n" +
|
||||
@@ -978,8 +1051,8 @@ const file_express_express_proto_rawDesc = "" +
|
||||
"\aHistory\x12\x17.express.HistoryRequest\x1a\x11.express.Response\"%\x82\xd3\xe4\x93\x02\x1f:\x01*\x12\x1a/admin/v3/delivery/history\x12i\n" +
|
||||
"\x0eExpressCompany\x12\x1e.express.ExpressCompanyRequest\x1a\x11.express.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\x12\x19/admin/v3/express/company\x12k\n" +
|
||||
"\x11ExpressDelivering\x12\x1a.express.DeliveringRequest\x1a\x11.express.Response\"'\x82\xd3\xe4\x93\x02!:\x01*\"\x1c/admin/v3/express/delivering\x12Z\n" +
|
||||
"\rExpressSfBack\x12\x15.express.EmtpyRequest\x1a\x13.express.SfResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/express/sf\x12X\n" +
|
||||
"\rExpressJdBack\x12\x15.express.EmtpyRequest\x1a\x11.express.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/express/jd\x12]\n" +
|
||||
"\rExpressSfBack\x12\x15.express.EmtpyRequest\x1a\x13.express.SfResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/express/sf\x12W\n" +
|
||||
"\rExpressJdBack\x12\x12.express.JdRequest\x1a\x13.express.SfResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/express/jd\x12]\n" +
|
||||
"\x0fExpressApiQuery\x12\x15.express.IdApiRequest\x1a\x11.express.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\x12\x15/api/v3/express/query\x12^\n" +
|
||||
"\x11ExpressAdminQuery\x12\x12.express.IdRequest\x1a\x11.express.Response\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\x12\x17/admin/v3/express/query\x12e\n" +
|
||||
"\x13ExpressApiEstimated\x12\x15.express.IdApiRequest\x1a\x11.express.Response\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\x12\x19/api/v3/express/estimated\x12f\n" +
|
||||
@@ -1000,42 +1073,43 @@ func file_express_express_proto_rawDescGZIP() []byte {
|
||||
return file_express_express_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_express_express_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_express_express_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_express_express_proto_goTypes = []any{
|
||||
(*Response)(nil), // 0: express.Response
|
||||
(*SfResponse)(nil), // 1: express.SfResponse
|
||||
(*IdResponse)(nil), // 2: express.IdResponse
|
||||
(*EmtpyRequest)(nil), // 3: express.EmtpyRequest
|
||||
(*CreateRequest)(nil), // 4: express.CreateRequest
|
||||
(*IdRequest)(nil), // 5: express.IdRequest
|
||||
(*StatusRequest)(nil), // 6: express.StatusRequest
|
||||
(*HistoryRequest)(nil), // 7: express.HistoryRequest
|
||||
(*DeliveryOrderCreateRequest)(nil), // 8: express.DeliveryOrderCreateRequest
|
||||
(*DeliverOrderProductInfo)(nil), // 9: express.DeliverOrderProductInfo
|
||||
(*DeliveringRequest)(nil), // 10: express.DeliveringRequest
|
||||
(*ExpressCompanyRequest)(nil), // 11: express.ExpressCompanyRequest
|
||||
(*IdApiRequest)(nil), // 12: express.IdApiRequest
|
||||
(*JdRequest)(nil), // 4: express.JdRequest
|
||||
(*CreateRequest)(nil), // 5: express.CreateRequest
|
||||
(*IdRequest)(nil), // 6: express.IdRequest
|
||||
(*StatusRequest)(nil), // 7: express.StatusRequest
|
||||
(*HistoryRequest)(nil), // 8: express.HistoryRequest
|
||||
(*DeliveryOrderCreateRequest)(nil), // 9: express.DeliveryOrderCreateRequest
|
||||
(*DeliverOrderProductInfo)(nil), // 10: express.DeliverOrderProductInfo
|
||||
(*DeliveringRequest)(nil), // 11: express.DeliveringRequest
|
||||
(*ExpressCompanyRequest)(nil), // 12: express.ExpressCompanyRequest
|
||||
(*IdApiRequest)(nil), // 13: express.IdApiRequest
|
||||
}
|
||||
var file_express_express_proto_depIdxs = []int32{
|
||||
9, // 0: express.DeliveryOrderCreateRequest.product_info:type_name -> express.DeliverOrderProductInfo
|
||||
10, // 0: express.DeliveryOrderCreateRequest.product_info:type_name -> express.DeliverOrderProductInfo
|
||||
3, // 1: express.Express.Items:input_type -> express.EmtpyRequest
|
||||
4, // 2: express.Express.Create:input_type -> express.CreateRequest
|
||||
4, // 3: express.Express.Edit:input_type -> express.CreateRequest
|
||||
5, // 4: express.Express.Info:input_type -> express.IdRequest
|
||||
5, // 2: express.Express.Create:input_type -> express.CreateRequest
|
||||
5, // 3: express.Express.Edit:input_type -> express.CreateRequest
|
||||
6, // 4: express.Express.Info:input_type -> express.IdRequest
|
||||
3, // 5: express.Express.Names:input_type -> express.EmtpyRequest
|
||||
6, // 6: express.Express.Status:input_type -> express.StatusRequest
|
||||
7, // 7: express.Express.History:input_type -> express.HistoryRequest
|
||||
11, // 8: express.Express.ExpressCompany:input_type -> express.ExpressCompanyRequest
|
||||
10, // 9: express.Express.ExpressDelivering:input_type -> express.DeliveringRequest
|
||||
7, // 6: express.Express.Status:input_type -> express.StatusRequest
|
||||
8, // 7: express.Express.History:input_type -> express.HistoryRequest
|
||||
12, // 8: express.Express.ExpressCompany:input_type -> express.ExpressCompanyRequest
|
||||
11, // 9: express.Express.ExpressDelivering:input_type -> express.DeliveringRequest
|
||||
3, // 10: express.Express.ExpressSfBack:input_type -> express.EmtpyRequest
|
||||
3, // 11: express.Express.ExpressJdBack:input_type -> express.EmtpyRequest
|
||||
12, // 12: express.Express.ExpressApiQuery:input_type -> express.IdApiRequest
|
||||
5, // 13: express.Express.ExpressAdminQuery:input_type -> express.IdRequest
|
||||
12, // 14: express.Express.ExpressApiEstimated:input_type -> express.IdApiRequest
|
||||
5, // 15: express.Express.ExpressAdminEstimated:input_type -> express.IdRequest
|
||||
12, // 16: express.Express.ExpressApiCancel:input_type -> express.IdApiRequest
|
||||
5, // 17: express.Express.ExpressAdminCancel:input_type -> express.IdRequest
|
||||
8, // 18: express.Express.DeliveryOrderCreate:input_type -> express.DeliveryOrderCreateRequest
|
||||
4, // 11: express.Express.ExpressJdBack:input_type -> express.JdRequest
|
||||
13, // 12: express.Express.ExpressApiQuery:input_type -> express.IdApiRequest
|
||||
6, // 13: express.Express.ExpressAdminQuery:input_type -> express.IdRequest
|
||||
13, // 14: express.Express.ExpressApiEstimated:input_type -> express.IdApiRequest
|
||||
6, // 15: express.Express.ExpressAdminEstimated:input_type -> express.IdRequest
|
||||
13, // 16: express.Express.ExpressApiCancel:input_type -> express.IdApiRequest
|
||||
6, // 17: express.Express.ExpressAdminCancel:input_type -> express.IdRequest
|
||||
9, // 18: express.Express.DeliveryOrderCreate:input_type -> express.DeliveryOrderCreateRequest
|
||||
0, // 19: express.Express.Items:output_type -> express.Response
|
||||
0, // 20: express.Express.Create:output_type -> express.Response
|
||||
0, // 21: express.Express.Edit:output_type -> express.Response
|
||||
@@ -1046,7 +1120,7 @@ var file_express_express_proto_depIdxs = []int32{
|
||||
0, // 26: express.Express.ExpressCompany:output_type -> express.Response
|
||||
0, // 27: express.Express.ExpressDelivering:output_type -> express.Response
|
||||
1, // 28: express.Express.ExpressSfBack:output_type -> express.SfResponse
|
||||
0, // 29: express.Express.ExpressJdBack:output_type -> express.Response
|
||||
1, // 29: express.Express.ExpressJdBack:output_type -> express.SfResponse
|
||||
0, // 30: express.Express.ExpressApiQuery:output_type -> express.Response
|
||||
0, // 31: express.Express.ExpressAdminQuery:output_type -> express.Response
|
||||
0, // 32: express.Express.ExpressApiEstimated:output_type -> express.Response
|
||||
@@ -1072,7 +1146,7 @@ func file_express_express_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_express_express_proto_rawDesc), len(file_express_express_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 13,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
@@ -55,7 +55,7 @@ type ExpressClient interface {
|
||||
// 发货
|
||||
ExpressDelivering(ctx context.Context, in *DeliveringRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ExpressSfBack(ctx context.Context, in *EmtpyRequest, opts ...grpc.CallOption) (*SfResponse, error)
|
||||
ExpressJdBack(ctx context.Context, in *EmtpyRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ExpressJdBack(ctx context.Context, in *JdRequest, opts ...grpc.CallOption) (*SfResponse, error)
|
||||
ExpressApiQuery(ctx context.Context, in *IdApiRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ExpressAdminQuery(ctx context.Context, in *IdRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
ExpressApiEstimated(ctx context.Context, in *IdApiRequest, opts ...grpc.CallOption) (*Response, error)
|
||||
@@ -174,9 +174,9 @@ func (c *expressClient) ExpressSfBack(ctx context.Context, in *EmtpyRequest, opt
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *expressClient) ExpressJdBack(ctx context.Context, in *EmtpyRequest, opts ...grpc.CallOption) (*Response, error) {
|
||||
func (c *expressClient) ExpressJdBack(ctx context.Context, in *JdRequest, opts ...grpc.CallOption) (*SfResponse, error) {
|
||||
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
||||
out := new(Response)
|
||||
out := new(SfResponse)
|
||||
err := c.cc.Invoke(ctx, Express_ExpressJdBack_FullMethodName, in, out, cOpts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -270,7 +270,7 @@ type ExpressServer interface {
|
||||
// 发货
|
||||
ExpressDelivering(context.Context, *DeliveringRequest) (*Response, error)
|
||||
ExpressSfBack(context.Context, *EmtpyRequest) (*SfResponse, error)
|
||||
ExpressJdBack(context.Context, *EmtpyRequest) (*Response, error)
|
||||
ExpressJdBack(context.Context, *JdRequest) (*SfResponse, error)
|
||||
ExpressApiQuery(context.Context, *IdApiRequest) (*Response, error)
|
||||
ExpressAdminQuery(context.Context, *IdRequest) (*Response, error)
|
||||
ExpressApiEstimated(context.Context, *IdApiRequest) (*Response, error)
|
||||
@@ -319,7 +319,7 @@ func (UnimplementedExpressServer) ExpressDelivering(context.Context, *Delivering
|
||||
func (UnimplementedExpressServer) ExpressSfBack(context.Context, *EmtpyRequest) (*SfResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ExpressSfBack not implemented")
|
||||
}
|
||||
func (UnimplementedExpressServer) ExpressJdBack(context.Context, *EmtpyRequest) (*Response, error) {
|
||||
func (UnimplementedExpressServer) ExpressJdBack(context.Context, *JdRequest) (*SfResponse, error) {
|
||||
return nil, status.Error(codes.Unimplemented, "method ExpressJdBack not implemented")
|
||||
}
|
||||
func (UnimplementedExpressServer) ExpressApiQuery(context.Context, *IdApiRequest) (*Response, error) {
|
||||
@@ -545,7 +545,7 @@ func _Express_ExpressSfBack_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
}
|
||||
|
||||
func _Express_ExpressJdBack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EmtpyRequest)
|
||||
in := new(JdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -557,7 +557,7 @@ func _Express_ExpressJdBack_Handler(srv interface{}, ctx context.Context, dec fu
|
||||
FullMethod: Express_ExpressJdBack_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(ExpressServer).ExpressJdBack(ctx, req.(*EmtpyRequest))
|
||||
return srv.(ExpressServer).ExpressJdBack(ctx, req.(*JdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user