gaoluyang
4 天以前 eb62444060a1867ffea6f6c676c8ca55e620f4b6
src/api/system/user.js
@@ -33,9 +33,24 @@
// 用户头像上传
export function uploadAvatar(data) {
  return upload({
  return request({
    url: '/system/user/profile/avatar',
    name: data.name,
    filePath: data.filePath
    method: 'post',
    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
    data: data
  })
}
// 查询用户列表
export function userListNoPage() {
  return request({
    url: '/system/user/userListNoPage',
    method: 'get'
  })
}
// 查询用户列表
export function userListNoPageByTenantId() {
  return request({
    url: '/system/user/userListNoPageByTenantId',
    method: 'get'
  })
}