text: import axios from 'axios'
  // export function getHomeTotal() {
  //   return axios.post('/homepage/hometotal')
  // }
  
  // export function getHomeDetailItem() {
  //   return axios.post('/homepage/detailItem')
  // }
  
  // export function getRank() {
  //   return axios.post('/homepage/investmentRank')
  // }
  
  //获取用户设备信息
  export function devices(username){
    return axios.get('/api/homepage/getDevices',{
      params:username
    })
  }
  
  export function deleteDevices(id){
    return axios.post('/api/homepage/deleteDevice',{_id:id})
  }
  export function BatchDeleteDevices(key){
    return axios.post('/api/homepage/BatchDeleteDevices',key)
  }
  //获取用户个人资料
  export function userInfoGet(User){
    return  axios.get('/api/account/userInfoGet',User)
  }