mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-11-01 02:31:39 +08:00
feat:首页信息提示
This commit is contained in:
@@ -9,6 +9,11 @@ import (
|
||||
type WafStatApi struct {
|
||||
}
|
||||
|
||||
// 获取系统基本信息
|
||||
func (w *WafStatApi) StatSysinfoApi(c *gin.Context) {
|
||||
|
||||
response.OkWithDetailed(wafStatService.StatHomeSysinfo(), "获取成功", c)
|
||||
}
|
||||
func (w *WafStatApi) StatHomeSumDayApi(c *gin.Context) {
|
||||
|
||||
wafStat, _ := wafStatService.StatHomeSumDayApi()
|
||||
|
||||
Reference in New Issue
Block a user