chore: seed migration objects batch 20
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user