增加删除用户功能 修正一些细节bug

This commit is contained in:
pixel
2020-04-16 20:16:19 +08:00
parent 5698c207a1
commit 569abbeb53
9 changed files with 248 additions and 169 deletions

View File

@@ -77,4 +77,21 @@ export const setUserAuthority = (data) => {
method: 'post',
data: data
})
}
// @Tags SysUser
// @Summary 删除用户
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.SetUserAuth true "删除用户"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"修改成功"}"
// @Router /user/deleteUser [delete]
export const deleteUser = (data) => {
return service({
url: "/user/deleteUser",
method: 'delete',
data: data
})
}