Procházet zdrojové kódy

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

Zimo před 1 měsícem
rodič
revize
a1dc603ae9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 })