WXL
2024-09-09 d27e3ada8f1e9c005747988e9bf2519fcd6da21a
src/api/system/user.js
@@ -13,7 +13,7 @@
// 查询用户详细
export function getUser(userId) {
  return request({
    url: '/system/user/' + parseStrEmpty(userId),
    url: '/system/user/getInfo/' + parseStrEmpty(userId),
    method: 'get'
  })
}
@@ -21,7 +21,7 @@
// 新增用户
export function addUser(data) {
  return request({
    url: '/system/user',
    url: '/system/user/add',
    method: 'post',
    data: data
  })
@@ -51,7 +51,7 @@
    password
  }
  return request({
    url: '/system/user/resetPwd/edit',
    url: '/system/user/resetPwd',
    method: 'post',
    data: data
  })
@@ -94,7 +94,7 @@
    newPassword
  }
  return request({
    url: '/system/user/profile/updatePwd/edit',
    url: '/system/user/profile/updatePwd',
    method: 'post',
    params: data
  })