Skip to content

Commit

Permalink
Update sys_user.go
Browse files Browse the repository at this point in the history
songzhibin97 authored Jan 22, 2022
1 parent 0a842c0 commit a114d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/api/v1/system/sys_user.go
Original file line number Diff line number Diff line change
@@ -324,11 +324,11 @@ func (b *BaseApi) GetUserInfo(c *gin.Context) {
}

// @Tags SysUser
// @Summary 用户修改密码
// @Summary 重置用户密码
// @Security ApiKeyAuth
// @Produce application/json
// @Param data body system.SysUser true "ID"
// @Success 200 {object} response.Response{msg=string} "用户修改密码"
// @Success 200 {object} response.Response{msg=string} "重置用户密码"
// @Router /user/resetPassword [post]
func (b *BaseApi) ResetPassword(c *gin.Context) {
var user system.SysUser

0 comments on commit a114d29

Please sign in to comment.