Files
open-im-server/pkg/cms_api_struct/user.go
T

66 lines
1023 B
Go
Raw Normal View History

2022-01-21 18:39:57 +08:00
package cms_api_struct
2022-01-24 01:40:49 +08:00
type UserResponse struct {
ProfilePhoto string `json:"profile_photo"`
Nickname string `json:"nick_name"`
UserId string `json:"user_id"`
CreateTime string `json:"create_time"`
}
type GetUserRequest struct {
UserId string `form:"user_id"`
}
type GetUserResponse struct {
UserResponse
}
type GetUsersRequest struct {
RequestPagination
}
2022-01-21 18:39:57 +08:00
type GetUsersResponse struct {
2022-01-24 01:40:49 +08:00
Users []*UserResponse `json:"users"`
}
type ResignUserRequest struct {
UserId string `json:"user_id"`
}
2022-01-21 18:39:57 +08:00
2022-01-24 01:40:49 +08:00
type ResignUserResponse struct {
2022-01-21 18:39:57 +08:00
}
2022-01-24 01:40:49 +08:00
type AlterUserRequest struct {
UserId string `json:"user_id"`
}
2022-01-21 18:39:57 +08:00
2022-01-24 01:40:49 +08:00
type AlterUserResponse struct {
}
type AddUserRequest struct {
}
type AddUserResponse struct {
}
type BlockUserRequest struct {
UserId string `json:"user_id"`
}
type BlockUserResponse struct {
}
type UnblockUserRequest struct {
UserId string `json:"user_id"`
}
type UnBlockUserResponse struct {
}
type GetBlockUsersRequest struct {
RequestPagination
}
type GetBlockUsersResponse struct {
}