用户列表可以使用待审核、关键词搜索

This commit is contained in:
刘祥超
2022-01-05 11:11:54 +08:00
parent 36974e3eb4
commit b03970f578
2 changed files with 284 additions and 250 deletions

View File

@@ -122,11 +122,13 @@ message DeleteUserRequest {
// 计算用户数量
message CountAllEnabledUsersRequest {
string keyword = 1;
bool isVerifying = 2;
}
// 列出单页用户
message ListEnabledUsersRequest {
string keyword = 1;
bool isVerifying = 4;
int64 offset = 2;
int64 size = 3;
}
@@ -245,6 +247,7 @@ message ComposeUserGlobalBoardResponse {
int64 countWeeklyUsers = 3;
int64 countUserNodes = 4;
int64 countOfflineUserNodes = 5;
int64 countVerifyingUsers = 6;
repeated DailyStat dailyStats = 30;
repeated NodeValue cpuNodeValues = 31;