import { handle } from '../index'

const suffix = 'api'

// 获取个人信息
export const getUserInfo = () => handle({
  url: `/${suffix}/account/search`,
  method: 'get',
})
//  根据部门ID获取用户列表
export const getAccountListByDeptId = (params: any) => handle({
  url: `/${suffix}/account/list`,
  method: 'get',
  params
})
