Add modify password
This commit is contained in:
@@ -23,7 +23,17 @@ export const regist = (data) => {
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// @Summary 修改密码
|
||||
// @Produce application/json
|
||||
// @Param data body {username:"string",password:"string",newPassword:"string"}
|
||||
// @Router /user/changePassword [post]
|
||||
export const changePassword = (data) => {
|
||||
return service({
|
||||
url: "/user/changePassword",
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// @Tags User
|
||||
// @Summary 分页获取用户列表
|
||||
// @Security ApiKeyAuth
|
||||
|
Reference in New Issue
Block a user