fix: 统一分页请求的 offset 语义

This commit is contained in:
zetaloop
2026-04-07 17:56:38 +08:00
parent 424b2b1cca
commit d153b5cf51
46 changed files with 334 additions and 346 deletions
+2 -2
View File
@@ -92,7 +92,7 @@ message GetOrdersByIdResp {
}
message SearchOrdersReq {
int64 page = 1; //page
int64 offset = 1; //offset
int64 limit = 2; //limit
optional int64 id = 3; //id
optional int64 consumerId = 4; //consumerId
@@ -176,7 +176,7 @@ message GetOrderStateLogsByIdResp {
}
message SearchOrderStateLogsReq {
int64 page = 1; //page
int64 offset = 1; //offset
int64 limit = 2; //limit
optional int64 id = 3; //id
optional int64 orderId = 4; //orderId