im 管理后台

This commit is contained in:
richjohnrambo
2026-08-11 23:13:51 +08:00
parent 0397fe5f22
commit 331a55751d
1407 changed files with 162069 additions and 2 deletions
+21
View File
@@ -0,0 +1,21 @@
// Package servmsg
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package servmsg
import (
"hotgo/internal/library/network/tcp"
"hotgo/internal/model/input/servmsgin"
)
// AuthSummaryReq 授权信息
type AuthSummaryReq struct {
}
// AuthSummaryRes 响应授权信息
type AuthSummaryRes struct {
tcp.ServerRes
Data *servmsgin.AuthSummaryModel `json:"data,omitempty" description:"数据集"`
}
+57
View File
@@ -0,0 +1,57 @@
// Package servmsg
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package servmsg
import (
"hotgo/internal/library/network/tcp"
"hotgo/internal/model/input/sysin"
)
// CronDeleteReq 删除任务
type CronDeleteReq struct {
*sysin.CronDeleteInp
}
type CronDeleteRes struct {
tcp.ServerRes
}
// CronEditReq 编辑任务
type CronEditReq struct {
*sysin.CronEditInp
}
type CronEditRes struct {
tcp.ServerRes
}
// CronStatusReq 修改任务状态
type CronStatusReq struct {
*sysin.CronStatusInp
}
type CronStatusRes struct {
tcp.ServerRes
}
// CronOnlineExecReq 在线执行
type CronOnlineExecReq struct {
*sysin.OnlineExecInp
}
type CronOnlineExecRes struct {
tcp.ServerRes
}
// CronDispatchLogReq 调度日志
type CronDispatchLogReq struct {
*sysin.DispatchLogInp
}
type CronDispatchLogRes struct {
tcp.ServerRes
*sysin.DispatchLogModel
}
+33
View File
@@ -0,0 +1,33 @@
// Package servmsg
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2023 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package servmsg
import (
"hotgo/internal/library/network/tcp"
"hotgo/internal/model/input/servmsgin"
)
// 一些例子.
// ExampleHelloReq 一个tcp请求例子
type ExampleHelloReq struct {
Name string `json:"name" description:"名字"`
}
type ExampleHelloRes struct {
tcp.ServerRes
Data *servmsgin.ExampleHelloModel `json:"data,omitempty" description:"数据集"`
}
// ExampleRPCHelloReq 一个rpc请求例子
type ExampleRPCHelloReq struct {
Name string `json:"name" description:"名字"`
}
type ExampleRPCHelloRes struct {
tcp.ServerRes
Data *servmsgin.ExampleHelloModel `json:"data,omitempty" description:"数据集"`
}