import fetch from '@/utils/fetch'

/**
 * -----------------------设备分类-----------------------
 * 【查】 - 获取所有设备分类
 */
export const getMqttOnlineClient = async () => {
  return fetch({
    url: '/train/trainModule/proxy',
    method: 'post',
    data: {
      url: MqttApiAddres + 'clients',
      auth: {
        ...MqttApiKey
      },
      method: 'GET'
    }
  })
}
