From a5e8980b23fd23687dc1ead6a05a4b3df076d857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?piexlMax=28=E5=A5=87=E6=B7=BC?= Date: Sun, 29 Sep 2024 10:17:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B6=88=E9=99=A4swag=20init=E7=9A=84?= =?UTF-8?q?=E4=B8=8D=E5=85=BC=E5=AE=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/api/v1/system/sys_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/v1/system/sys_user.go b/server/api/v1/system/sys_user.go index 683b5d12e..a8d2ea43d 100644 --- a/server/api/v1/system/sys_user.go +++ b/server/api/v1/system/sys_user.go @@ -420,7 +420,7 @@ func (b *BaseApi) SetSelfInfo(c *gin.Context) { // @Security ApiKeyAuth // @accept application/json // @Produce application/json -// @Param data body datatypes.JSON +// @Param data body map[string]interface{} true "用户配置数据" // @Success 200 {object} response.Response{data=map[string]interface{},msg=string} "设置用户配置" // @Router /user/SetSelfSetting [put] func (b *BaseApi) SetSelfSetting(c *gin.Context) {