This commit is contained in:
sjl
2024-11-15 09:38:25 +08:00
parent fddbb8c9dc
commit 43b67f2e1a
12 changed files with 35 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ export const addUser = (params: User.ResUser) => {
// 编辑用户
export const updateUser = (params: User.ResUser) => {
return http.put(`/sysUser/update`, params)
return http.post(`/sysUser/update`, params)
}
// 删除用户
@@ -36,6 +36,6 @@ export const getRoleList = () => {
//修改密码
export const updatePassWord = (params: User.ResPassWordUser) => {
return http.put(`/sysUser/updatePassword`,params)
return http.post(`/sysUser/updatePassword`,params)
}