未验证 提交 b5cf149e 编写于 作者: Mr.奇淼('s avatar Mr.奇淼( 提交者: GitHub

Merge pull request #615 from flipped-aurora/gva_gormv2_dev

Gva gormv2 dev
......@@ -142,7 +142,7 @@ func (b *BaseApi) Register(c *gin.Context) {
// @Produce application/json
// @Param data body systemReq.ChangePasswordStruct true "用户名, 原密码, 新密码"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
// @Router /user/changePassword [put]
// @Router /user/changePassword [post]
func (b *BaseApi) ChangePassword(c *gin.Context) {
var user systemReq.ChangePasswordStruct
_ = c.ShouldBindJSON(&user)
......
......@@ -1554,9 +1554,7 @@ var doc = `{
}
],
"responses": {
"200": {
"description": ""
}
"200": {}
}
}
},
......@@ -1589,9 +1587,7 @@ var doc = `{
}
],
"responses": {
"200": {
"description": ""
}
"200": {}
}
}
},
......@@ -3280,7 +3276,7 @@ var doc = `{
}
},
"/user/changePassword": {
"put": {
"post": {
"security": [
{
"ApiKeyAuth": []
......
......@@ -1538,9 +1538,7 @@
}
],
"responses": {
"200": {
"description": ""
}
"200": {}
}
}
},
......@@ -1573,9 +1571,7 @@
}
],
"responses": {
"200": {
"description": ""
}
"200": {}
}
}
},
......@@ -3264,7 +3260,7 @@
}
},
"/user/changePassword": {
"put": {
"post": {
"security": [
{
"ApiKeyAuth": []
......
......@@ -1857,8 +1857,7 @@ paths:
produces:
- application/json
responses:
"200":
description: ""
"200": {}
security:
- ApiKeyAuth: []
summary: 下载模板
......@@ -1878,8 +1877,7 @@ paths:
produces:
- application/octet-stream
responses:
"200":
description: ""
"200": {}
security:
- ApiKeyAuth: []
summary: 导出Excel
......@@ -2924,7 +2922,7 @@ paths:
tags:
- System
/user/changePassword:
put:
post:
parameters:
- description: 用户名, 原密码, 新密码
in: body
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册