From 6858449eef5223bb4cb8850054a47a5884da1fca Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 23 十月 2019 17:15:56 +0800 Subject: [PATCH] update swagger --- controllers/syssetcont.go | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/syssetcont.go b/controllers/syssetcont.go index 127056e..afab0db 100644 --- a/controllers/syssetcont.go +++ b/controllers/syssetcont.go @@ -122,8 +122,8 @@ // @Accept x-www-form-urlencoded // @Produce json // @Tags sysset -// @Param min_video_len query string true "瑙嗛鎴彇鏈�鐭椂闀�" -// @Param max_video_len query string true "瑙嗛鎴彇鏈�闀挎椂闀�" +// @Param min_video_len formData string true "瑙嗛鎴彇鏈�鐭椂闀�" +// @Param max_video_len formData string true "瑙嗛鎴彇鏈�闀挎椂闀�" // @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true}" // @Failure 500 {string} json "{"code":500, msg:"杩斿洖閿欒淇℃伅", success:false}" // @Router /data/api-v/sysset/videoLenEdit [POST] @@ -183,7 +183,7 @@ // @Accept x-www-form-urlencoded // @Produce json // @Tags sysset -// @Param dev_name query string true "鍒嗘瀽璁惧鍚嶇О" +// @Param dev_name formData string true "鍒嗘瀽璁惧鍚嶇О" // @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true}" // @Failure 500 {string} json "{"code":500, msg:"杩斿洖閿欒淇℃伅", success:false}" // @Router /data/api-v/sysset/saveDevInfo [POST] -- Gitblit v1.8.0