You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/pkg/cms_api_struct/admin.go

40 lines
1.0 KiB

3 years ago
package cms_api_struct
3 years ago
2 years ago
import server_api_params "Open_IM/pkg/proto/sdk_ws"
3 years ago
3 years ago
type AdminLoginRequest struct {
AdminName string `json:"admin_name" binding:"required"`
3 years ago
Secret string `json:"secret" binding:"required"`
3 years ago
}
type AdminLoginResponse struct {
Token string `json:"token"`
3 years ago
}
2 years ago
type AddUserRegisterAddFriendIDListRequest struct {
OperationID string `json:"operationID" binding:"required"`
UserIDList []string `json:"userIDList" binding:"required"`
3 years ago
}
2 years ago
type AddUserRegisterAddFriendIDListResponse struct {
3 years ago
}
2 years ago
type ReduceUserRegisterAddFriendIDListRequest struct {
OperationID string `json:"operationID" binding:"required"`
UserIDList []string `json:"userIDList" binding:"required"`
2 years ago
Operation int32 `json:"operation"`
2 years ago
}
type ReduceUserRegisterAddFriendIDListResponse struct {
}
type GetUserRegisterAddFriendIDListRequest struct {
3 years ago
OperationID string `json:"operationID" binding:"required"`
2 years ago
RequestPaginationBody
2 years ago
}
type GetUserRegisterAddFriendIDListResponse struct {
2 years ago
Users []*server_api_params.UserInfo `json:"users"`
2 years ago
ResponsePagination
3 years ago
}