From 4d0e5b1e9f59ebba7f875c9a39a6ab84c9dde4b6 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期二, 12 十一月 2019 20:24:24 +0800 Subject: [PATCH] update swagger --- controllers/area.go | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/controllers/area.go b/controllers/area.go index 705c05c..59e7f97 100644 --- a/controllers/area.go +++ b/controllers/area.go @@ -59,9 +59,10 @@ util.ResponseFormat(c, code.Success, arr) } +// @Security ApiKeyAuth +// @Accept x-www-form-urlencoded // @Summary 鍒锋柊Gb28181骞冲彴鏍� // @Description 鍒锋柊Gb28181骞冲彴鏍� -// @Security ApiKeyAuth // @Produce json // @Tags menu // @Param id formData string false "鍥芥爣骞冲彴id" @@ -99,6 +100,7 @@ // @Security ApiKeyAuth // @Summary 娣诲姞menu鐨勫尯鍩� // @Description 娣诲姞鐩綍涓婂尯鍩� +// @Accept x-www-form-urlencoded // @Produce json // @Tags menu // @Param name formData string true "鍖哄煙鍚嶅瓧" @@ -127,7 +129,7 @@ // @Security ApiKeyAuth // @Summary 淇敼鍚嶅瓧 // @Description 淇敼鍖哄煙鍚嶅瓧 -// @Accept json +// @Accept x-www-form-urlencoded // @Produce json // @Tags menu // @Param id formData string true "鍖哄煙id" @@ -168,6 +170,7 @@ // @Security ApiKeyAuth // @Summary 鍒犻櫎涓�涓尯鍩� // @Description 鐐瑰嚮鍒犻櫎鎸夐挳鏃跺垹闄や竴涓尯鍩� +// @Accept x-www-form-urlencoded // @Produce json // @Tags menu // @Param id formData string true "褰撳墠id" -- Gitblit v1.8.0