liuxiaolong
2019-11-20 c070c02f3fcb8c2c8dfa1ffcadf72a4fb827a43a
controllers/pollConfig.go
@@ -18,6 +18,7 @@
   Enable     bool   `json:"enable"`      //是否启用轮询
}
// @Security ApiKeyAuth
// @Summary 保存轮询周期
// @Description 保存轮询周期
// @Produce json
@@ -42,6 +43,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 保存轮询延时
// @Description 保存轮询延时
// @Produce json
@@ -66,6 +68,7 @@
   }
}
// @Security ApiKeyAuth
// @Summary 获取本机轮询配置
// @Description 获取本机轮询配置
// @Produce json
@@ -87,8 +90,10 @@
   Enable bool `json:"enable"`
}
// @Security ApiKeyAuth
// @Summary 切换轮询开关
// @Description 切换轮询开关
// @Accept json
// @Produce json
// @Tags 轮询配置
// @Param argBody body controllers.PollEnableVo true "开关参数"