mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 10:09:54 +08:00
模块化定时任务,方便在插件中注册任务;增加日志分组
This commit is contained in:
@@ -15,6 +15,7 @@ type OfflineReq struct {
|
||||
g.Meta `path:"/monitor/offline" method:"post" tags:"在线用户" summary:"下线用户"`
|
||||
Id string `json:"id" v:"required#SID不能为空" description:"SID"`
|
||||
}
|
||||
|
||||
type OfflineRes struct{}
|
||||
|
||||
// OnlineListReq 获取在线用户列表
|
||||
@@ -37,6 +38,7 @@ type OnlineViewReq struct {
|
||||
g.Meta `path:"/monitor/onlineView" method:"get" tags:"在线用户" summary:"获取指定用户信息"`
|
||||
Id string `json:"id" v:"required#SID不能为空" description:"SID"`
|
||||
}
|
||||
|
||||
type OnlineViewRes struct {
|
||||
*OnlineModel
|
||||
}
|
||||
|
Reference in New Issue
Block a user