mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
40 lines
1.0 KiB
Go
40 lines
1.0 KiB
Go
package cms_api_struct
|
|
|
|
import server_api_params "Open_IM/pkg/proto/sdk_ws"
|
|
|
|
type AdminLoginRequest struct {
|
|
AdminName string `json:"admin_name" binding:"required"`
|
|
Secret string `json:"secret" binding:"required"`
|
|
}
|
|
|
|
type AdminLoginResponse struct {
|
|
Token string `json:"token"`
|
|
}
|
|
|
|
type AddUserRegisterAddFriendIDListRequest struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
UserIDList []string `json:"userIDList" binding:"required"`
|
|
}
|
|
|
|
type AddUserRegisterAddFriendIDListResponse struct {
|
|
}
|
|
|
|
type ReduceUserRegisterAddFriendIDListRequest struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
UserIDList []string `json:"userIDList" binding:"required"`
|
|
Operation int32 `json:"operation"`
|
|
}
|
|
|
|
type ReduceUserRegisterAddFriendIDListResponse struct {
|
|
}
|
|
|
|
type GetUserRegisterAddFriendIDListRequest struct {
|
|
OperationID string `json:"operationID" binding:"required"`
|
|
RequestPaginationBody
|
|
}
|
|
|
|
type GetUserRegisterAddFriendIDListResponse struct {
|
|
Users []*server_api_params.UserInfo `json:"users"`
|
|
ResponsePagination
|
|
}
|