feat: expand IM admin controls
This commit is contained in:
@@ -39,3 +39,27 @@ type ResetPasswordReq struct {
|
||||
}
|
||||
|
||||
type ResetPasswordRes struct{}
|
||||
|
||||
type RevokeSessionsReq struct {
|
||||
g.Meta `path:"/imUser/revokeSessions" method:"post" tags:"IM用户" summary:"撤销IM用户会话"`
|
||||
sysin.ImUserRevokeSessionsInp
|
||||
}
|
||||
|
||||
type RevokeSessionsRes struct{}
|
||||
|
||||
type StatusReq struct {
|
||||
g.Meta `path:"/imUser/status" method:"post" tags:"IM用户" summary:"更新IM用户状态"`
|
||||
sysin.ImUserStatusInp
|
||||
}
|
||||
|
||||
type StatusRes struct{}
|
||||
|
||||
type DevicesReq struct {
|
||||
g.Meta `path:"/imUser/devices" method:"get" tags:"IM用户" summary:"获取IM用户设备列表"`
|
||||
sysin.ImUserDeviceListInp
|
||||
}
|
||||
|
||||
type DevicesRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImUserDeviceListModel `json:"list" dc:"设备列表"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user