From eb2c3a8890a0e9695c0cd2bc3b3dc310c6fbcfa9 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期六, 26 十月 2019 11:28:23 +0800 Subject: [PATCH] fix user timeout --- controllers/pollConfig.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/pollConfig.go b/controllers/pollConfig.go index 4efe3b8..389c713 100644 --- a/controllers/pollConfig.go +++ b/controllers/pollConfig.go @@ -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