Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FLIPPED-AURORA
gin-vue-admin
提交
b5cf149e
G
gin-vue-admin
项目概览
FLIPPED-AURORA
/
gin-vue-admin
大约 1 年 前同步成功
通知
340
Star
18155
Fork
5506
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b5cf149e
编写于
8月 07, 2021
作者:
Mr.奇淼(
提交者:
GitHub
8月 07, 2021
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #615 from flipped-aurora/gva_gormv2_dev
Gva gormv2 dev
上级
734d8b6b
5dd71f4d
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
20 deletion
+10
-20
server/api/v1/system/sys_user.go
server/api/v1/system/sys_user.go
+1
-1
server/docs/docs.go
server/docs/docs.go
+3
-7
server/docs/swagger.json
server/docs/swagger.json
+3
-7
server/docs/swagger.yaml
server/docs/swagger.yaml
+3
-5
未找到文件。
server/api/v1/system/sys_user.go
浏览文件 @
b5cf149e
...
...
@@ -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 [p
u
t]
// @Router /user/changePassword [p
os
t]
func
(
b
*
BaseApi
)
ChangePassword
(
c
*
gin
.
Context
)
{
var
user
systemReq
.
ChangePasswordStruct
_
=
c
.
ShouldBindJSON
(
&
user
)
...
...
server/docs/docs.go
浏览文件 @
b5cf149e
...
...
@@ -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": {
"p
u
t": {
"p
os
t": {
"security": [
{
"ApiKeyAuth": []
...
...
server/docs/swagger.json
浏览文件 @
b5cf149e
...
...
@@ -1538,9 +1538,7 @@
}
],
"responses"
:
{
"200"
:
{
"description"
:
""
}
"200"
:
{}
}
}
},
...
...
@@ -1573,9 +1571,7 @@
}
],
"responses"
:
{
"200"
:
{
"description"
:
""
}
"200"
:
{}
}
}
},
...
...
@@ -3264,7 +3260,7 @@
}
},
"/user/changePassword"
:
{
"p
u
t"
:
{
"p
os
t"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
...
...
server/docs/swagger.yaml
浏览文件 @
b5cf149e
...
...
@@ -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
:
p
u
t
:
p
os
t
:
parameters
:
-
description
:
用户名, 原密码, 新密码
in
:
body
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录