From a527225f7f3cc93882aa870c20f0985d07d6fe92 Mon Sep 17 00:00:00 2001 From: sunty <suntianyu0923@163.com> Date: 星期四, 22 八月 2019 18:12:03 +0800 Subject: [PATCH] set yn main port 7100 --- controllers/syssetcont.go | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/controllers/syssetcont.go b/controllers/syssetcont.go index ef1888c..fe25b70 100644 --- a/controllers/syssetcont.go +++ b/controllers/syssetcont.go @@ -16,6 +16,8 @@ Id string `json:"id"` AlarmIp string `json:"alarm_ip,omitempty" example:"192.168.1.182"` AlarmPort int `json:"alarm_port,omitempty" example:"22122"` + AlarmThresholdType int `json:"alarm_threshold_type"`//鎶ヨ闃堝�肩被鍨嬭缃細1:鎸夋渶楂樺垎,2:鎸夐槇鍊间互涓� + AlarmThreshold int `json:"alarm_threshold"`//鎶ヨ闃堝�� WebPicIp string `json:"web_pic_ip,omitempty" example:""` WebPicPort int `json:"web_pic_port,omitempty" example:"22122"` EsPicIp string `json:"es_pic_ip,omitempty" example:""` @@ -40,8 +42,8 @@ UpdateTime string `json:"UpdateTime"` } -// @Summary 瀛樺偍淇℃伅鏌ヨ -// @Description 瀛樺偍淇℃伅鏌ヨ +// @Summary 鍩虹璁剧疆鏌ヨ +// @Description 鍩虹璁剧疆鏌ヨ // @Accept json // @Produce json // @Tags sysset @@ -58,8 +60,8 @@ } } -// @Summary 瀛樺偍淇℃伅淇敼 -// @Description 瀛樺偍淇℃伅淇敼 +// @Summary 鎶ヨ璁剧疆淇敼 +// @Description 鎶ヨ璁剧疆淇敼 // @Accept json // @Produce json // @Tags sysset @@ -84,8 +86,8 @@ } } -// @Summary 瀛樺偍淇℃伅淇敼 -// @Description 瀛樺偍淇℃伅淇敼 +// @Summary 鎶ヨ鏃堕暱淇敼 +// @Description 鎶ヨ鏃堕暱淇敼 // @Accept json // @Produce json // @Tags sysset -- Gitblit v1.8.0