MarketPlace: comments + pagination issue fixed

Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
2025-02-12 13:30:04 +03:30
parent d0c2cdef13
commit fd4c1da9a4
2 changed files with 18 additions and 7 deletions
+10 -2
View File
@@ -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;
}