gaoluyang
2025-05-08 fc621495bc5a887b2654cc18d0ab7511f9a8d36a
src/api/system/user.js
@@ -96,7 +96,7 @@
  return request({
    url: '/system/user/profile/updatePwd',
    method: 'put',
    params: data
    data: data
  })
}
@@ -105,6 +105,7 @@
  return request({
    url: '/system/user/profile/avatar',
    method: 'post',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    data: data
  })
}
@@ -125,3 +126,18 @@
    params: data
  })
}
// 查询部门下拉树结构
export function deptTreeSelect() {
  return request({
    url: '/system/user/deptTree',
    method: 'get'
  })
}
// 查询用户列表
export function userListNoPage() {
  return request({
    url: '/system/user/userListNoPage',
    method: 'get'
  })
}