statistics

This commit is contained in:
wangchuxiao
2022-02-07 08:44:21 +08:00
parent fb396d9cf0
commit a7f9faf868
27 changed files with 2517 additions and 728 deletions
+9 -4
View File
@@ -21,8 +21,7 @@ type GetUsersRequest struct {
}
type GetUsersResponse struct {
Users []*UserResponse `json:"users"`
UserNum int `json:"user_num"`
Users []*UserResponse `json:"users"`
ResponsePagination
}
@@ -78,8 +77,7 @@ type GetBlockUsersRequest struct {
}
type GetBlockUsersResponse struct {
BlockUsers []BlockUser `json:"block_users"`
BlockUserNum int `json:"block_user_num"`
BlockUsers []BlockUser `json:"block_users"`
ResponsePagination
}
@@ -90,3 +88,10 @@ type GetBlockUserRequest struct {
type GetBlockUserResponse struct {
BlockUser
}
type DeleteUserRequest struct {
UserId string `json:"user_id" binding:"required"`
}
type DeleteUserResponse struct {
}