order
This commit is contained in:
@@ -204,6 +204,20 @@ message ApiSupplyRequest {
|
||||
repeated string images = 4;
|
||||
}
|
||||
|
||||
message WebSaleItemsRequest {
|
||||
int32 page = 1;
|
||||
int32 size = 2;
|
||||
string name = 3;
|
||||
int64 sale_id = 4;
|
||||
repeated string time = 5;
|
||||
}
|
||||
|
||||
message WebStoreItemsRequest {
|
||||
int32 page = 1;
|
||||
int32 size = 2;
|
||||
string name = 3;
|
||||
repeated string time = 4;
|
||||
}
|
||||
|
||||
message StatusRequest {
|
||||
int64 id = 1;
|
||||
@@ -365,4 +379,16 @@ service order {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc WebSaleItems(WebSaleItemsRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/order/sale/items"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc WebStoreItems(WebStoreItemsRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/order/store/items"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user