Browse Source

fix:修复网关上报topic提示地址的错误。

microrain 1 year ago
parent
commit
03ab694dac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/iot/device/instance/detail.vue

+ 2 - 2
src/views/iot/device/instance/detail.vue

@@ -560,12 +560,12 @@ export default defineComponent({
 
         topicData.value = deviceType === '网关' ? [
           {
-            url: `/sys/${res.data.productKey}/${deviceKey}/thing/service/property/pack/post`,
+            url: `/sys/${res.data.productKey}/${deviceKey}/thing/event/property/pack/post`,
             info: '网关批量上传事件和属性(网关发起)',
             type: '请求',
           },
           {
-            url: `/sys/${res.data.productKey}/${deviceKey}/thing/service/property/pack/post`,
+            url: `/sys/${res.data.productKey}/${deviceKey}/thing/event/property/pack/post_reply`,
             info: '网关批量上传事件和属性(网关发起)',
             type: '响应',
           }