fix: 统一分页请求的 offset 语义
This commit is contained in:
@@ -85,7 +85,7 @@ message GetUsersByIdResp {
|
||||
}
|
||||
|
||||
message SearchUsersReq {
|
||||
optional int64 page = 1; //page
|
||||
optional int64 offset = 1; //offset
|
||||
optional int64 limit = 2; //limit
|
||||
optional int64 id = 3; //id
|
||||
optional string username = 4; //username
|
||||
@@ -236,7 +236,7 @@ message GetUserFollowsByIdResp {
|
||||
}
|
||||
|
||||
message SearchUserFollowsReq {
|
||||
int64 page = 1; //page
|
||||
int64 offset = 1; //offset
|
||||
int64 limit = 2; //limit
|
||||
int64 id = 3; //id
|
||||
int64 followerId = 4; //followerId
|
||||
@@ -301,7 +301,7 @@ message GetUserPreferencesByIdResp {
|
||||
}
|
||||
|
||||
message SearchUserPreferencesReq {
|
||||
int64 page = 1; //page
|
||||
int64 offset = 1; //offset
|
||||
int64 limit = 2; //limit
|
||||
int64 userId = 3; //userId
|
||||
bool notificationOrder = 4; //notificationOrder
|
||||
|
||||
Reference in New Issue
Block a user