回调
This commit is contained in:
@@ -10,6 +10,13 @@ message Response {
|
||||
string msg = 2;
|
||||
string data = 3;
|
||||
}
|
||||
|
||||
message SfResponse {
|
||||
string return_code = 1;
|
||||
string return_msg = 2;
|
||||
string return_status = 3;
|
||||
}
|
||||
|
||||
message IdResponse {
|
||||
int64 id = 1;
|
||||
}
|
||||
@@ -144,6 +151,19 @@ service Express {
|
||||
};
|
||||
};
|
||||
|
||||
rpc ExpressSfBack(EmtpyRequest) returns(SfResponse){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/express/sf"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc ExpressJdBack(EmtpyRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/express/jd"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
|
||||
//添加生成订单的发货信息
|
||||
rpc DeliveryOrderCreate(DeliveryOrderCreateRequest) returns(IdResponse);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user