From 88ba80947433ea88b66ba19bc10a7b28bca38bb4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期一, 28 十月 2019 18:49:14 +0800 Subject: [PATCH] add dbpersonIds scope when searchByPhoto twice --- controllers/pollConfig.go | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go index 014a071..389c713 100644 --- a/controllers/pollConfig.go +++ b/controllers/pollConfig.go @@ -13,8 +13,8 @@ type PollConfig struct { ServerId string `json:"server_id"` //鏈嶅姟鍣╥d - PollPeriod int `json:"poll_period"` //杞鍛ㄦ湡 - Delay int `json:"delay"` //寤舵椂鏃堕棿 + PollPeriod int32 `json:"poll_period"` //杞鍛ㄦ湡 + Delay int32 `json:"delay"` //寤舵椂鏃堕棿 Enable bool `json:"enable"` //鏄惁鍚敤杞 } @@ -22,7 +22,7 @@ // @Description 淇濆瓨杞鍛ㄦ湡 // @Produce json // @Tags 杞閰嶇疆 -// @Param period query int true "杞鍛ㄦ湡" +// @Param period formData int true "杞鍛ㄦ湡" // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" // @Router /data/api-v/pollConfig/savePollPeriod [post] @@ -46,7 +46,7 @@ // @Description 淇濆瓨杞寤舵椂 // @Produce json // @Tags 杞閰嶇疆 -// @Param delay query int true "杞寤舵椂鏃堕棿" +// @Param delay formData int true "杞寤舵椂鏃堕棿" // @Success 200 {string} json "{"code":200, success:true, msg:"", data:""}" // @Failure 500 {string} json "{"code":500, success:false, msg:"",data:""}" // @Router /data/api-v/pollConfig/savePollDelay [post] -- Gitblit v1.8.0