marge: 合并代码

This commit is contained in:
TsMask committed 2023-11-01 19:20:18 +08:00
1 parent f8bf36f94b
commit 970167c76c
15 files changed
+105 -60

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ type MonitorController struct {
// GET /load
func (s *MonitorController) Load(c *gin.Context) {
var querys struct {
// 数据类型all/cpu/memory/io/network
Type string `form:"type" binding:"required,oneof=all cpu memory io network"`
// 数据类型all/load/cpu/memory/io/network
Type string `form:"type" binding:"required,oneof=all load cpu memory io network"`
// 开始时间
StartTime int64 `form:"startTime" binding:"required"`
// 结束时间