42 lines
1.0 KiB
Go
42 lines
1.0 KiB
Go
// Package imuser
|
|
// @Link https://github.com/bufanyun/hotgo
|
|
// @Copyright Copyright (c) 2026 HotGo
|
|
// @Author Ms <133814250@qq.com>
|
|
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
|
package imuser
|
|
|
|
import (
|
|
"hotgo/internal/model/input/form"
|
|
"hotgo/internal/model/input/sysin"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
// ListReq 查询IM用户列表
|
|
type ListReq struct {
|
|
g.Meta `path:"/imUser/list" method:"get" tags:"IM用户" summary:"获取IM用户列表"`
|
|
sysin.ImUserListInp
|
|
}
|
|
|
|
type ListRes struct {
|
|
form.PageRes
|
|
List []*sysin.ImUserListModel `json:"list" dc:"数据列表"`
|
|
}
|
|
|
|
// ViewReq 获取IM用户指定信息
|
|
type ViewReq struct {
|
|
g.Meta `path:"/imUser/view" method:"get" tags:"IM用户" summary:"获取IM用户指定信息"`
|
|
sysin.ImUserViewInp
|
|
}
|
|
|
|
type ViewRes struct {
|
|
*sysin.ImUserViewModel
|
|
}
|
|
|
|
type ResetPasswordReq struct {
|
|
g.Meta `path:"/imUser/resetPassword" method:"post" tags:"IM用户" summary:"重置IM用户密码"`
|
|
sysin.ImUserPasswordResetInp
|
|
}
|
|
|
|
type ResetPasswordRes struct{}
|