yaoll 4 years ago
parent
commit
31d88b2a13
1 changed files with 6 additions and 6 deletions
  1. 6 6
      docs/rwd/iot.md

+ 6 - 6
docs/rwd/iot.md

@@ -26,9 +26,9 @@ POST: /rwd/iot/data/current
 
 ```
 [
-    { "objectId": "Eqxxxxx", "infoCode": "Tdb" },
-    { "objectId": "Eqxxxxx", "infoCode": "CO2" },
-    { "objectId": "Eqxxxxx", "infoCode": "Hcho" }
+    { "objectId": "Eqxxxxx", "infoCode": "tdb" },
+    { "objectId": "Eqxxxxx", "infoCode": "co2" },
+    { "objectId": "Eqxxxxx", "infoCode": "hcho" }
 ]
 ```
 
@@ -40,21 +40,21 @@ POST: /rwd/iot/data/current
     "data": [
         {
             "objectId": "Eqxxxxx",
-            "infoCode": "Tdb",
+            "infoCode": "tdb",
             "infoValue": "8000-123",
             "data": 25.6,
             "time": "20200512172435"
         },
         {
             "objectId": "Eqxxxxx",
-            "infoCode": "Tdb",
+            "infoCode": "tdb",
             "infoValue": "8000-123",
             "data": 25.6,
             "time": "20200512172435"
         },
         {
             "objectId": "Eqxxxxx",
-            "infoCode": "Tdb",
+            "infoCode": "tdb",
             "error": "错误信息:信息点不存在,表号功能号配置错误,断数等"
         }
     ]