MarketPlace: comments + pagination issue fixed
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
+10
-2
@@ -13,7 +13,15 @@ message IdRes {
|
||||
message IdReq {
|
||||
int64 id = 1;
|
||||
}
|
||||
message Pagination {
|
||||
|
||||
|
||||
message PaginationReq {
|
||||
uint32 page = 1; // in query param it will be p
|
||||
uint32 page_size = 2; // in query param it will be pz
|
||||
}
|
||||
|
||||
|
||||
message PaginationResp {
|
||||
uint32 page = 1; // in query param it will be p
|
||||
uint32 page_size = 2; // in query param it will be pz
|
||||
optional uint32 total_count = 3; // reponse
|
||||
@@ -21,5 +29,5 @@ message Pagination {
|
||||
|
||||
message BaseQueryParam {
|
||||
repeated string sort = 2; // sort by
|
||||
optional Pagination page = 3;
|
||||
optional PaginationReq page = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user