Просмотр исходного кода

🦄 refactor(设备监控): 网关数采接口调整

Zimo 5 дней назад
Родитель
Сommit
a1dc603ae9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/api/pms/device/index.ts

+ 1 - 1
src/api/pms/device/index.ts

@@ -118,7 +118,7 @@ export const IotDeviceApi = {
   },
 
   getIotDeviceTds: async (id: number) => {
-    return await request.get({ url: `/rq/iot-device/get/td?id=` + id })
+    return await request.get({ url: `/rq/iot-device/get/gateway/td?id=` + id })
   },
   getIotDeviceZHBDTds: async (id: number) => {
     return await request.get({ url: `/rq/iot-device/get/zhbd/td?id=` + id })