Browse Source

[Fix 0000]接口修改

bobo04052021@163.com 6 days ago
parent
commit
9b41ef1bc1
1 changed files with 0 additions and 8 deletions
  1. 0 8
      src/views/vent/dataCenter/deviceCenter/device.api.ts

+ 0 - 8
src/views/vent/dataCenter/deviceCenter/device.api.ts

@@ -10,20 +10,12 @@ export const getDeviceTypeList = (params) => defHttp.get({ url: Api.deviceTypeLi
 // export const getDeviceListByType = (params) => defHttp.post({ url: Api.deviceList, params });
 export const getDeviceListByType = (params) =>
   defHttp.post({
-    headers: {
-      'X-Access-Token':
-        'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNzU5ODQxMTcwfQ.fHaM3l-d88tUSLOs8sstXsDuSCn6Agbj_EMZMgV6waw',
-    },
     url: Api.deviceList,
     params,
   });
 //根据设备id获取设备监控数据
 export const getDevMonitorListById = (params) =>
   defHttp.post({
-    headers: {
-      'X-Access-Token':
-        'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwiZXhwIjoxNzU5ODQxMTcwfQ.fHaM3l-d88tUSLOs8sstXsDuSCn6Agbj_EMZMgV6waw',
-    },
     url: Api.devMonitorList,
     params,
   });