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/user.go | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/user.go b/controllers/user.go index 6f5fc2f..170c19f 100644 --- a/controllers/user.go +++ b/controllers/user.go @@ -21,7 +21,7 @@ // @Summary 鐢ㄦ埛鐧诲綍 // @Description 鐢ㄦ埛鐧诲綍 -// @Accept json +// @Accept x-www-form-urlencoded // @Produce json // @Tags 鐢ㄦ埛 // @Param username formData string true "鐢ㄦ埛鍚�" @@ -124,7 +124,7 @@ // @Security ApiKeyAuth // @Summary 缂栬緫姝ょ敤鎴凤紝杩斿洖姝ょ敤鎴风殑鏉冮檺鑿滃崟 // @Description 缂栬緫姝ょ敤鎴凤紝杩斿洖姝ょ敤鎴风殑鏉冮檺鑿滃崟 -// @Accept json +// @Accept x-www-form-urlencoded // @Produce json // @Tags 鐢ㄦ埛 // @Param userId formData string true "鐢ㄦ埛id" -- Gitblit v1.8.0