wangtao 3 năm trước cách đây
mục cha
commit
c3ba19be28
2 tập tin đã thay đổi với 3 bổ sung61 xóa
  1. 3 1
      README.md
  2. 0 60
      url.md

+ 3 - 1
README.md

@@ -48,4 +48,6 @@ userName
 userPhone
 
 appid:"wxd64360a4b8c50006",
-secret:"b758e45c89162542610509dafd9db7c3",
+secret:"b758e45c89162542610509dafd9db7c3",
+
+微信小程序返回 app 参数读取的是字符串,appData、appData2 

+ 0 - 60
url.md

@@ -1,60 +0,0 @@
-https://fire.usky.cn:8443/YtIoT/cgi-bin/demo2.cgi
-iot/frontpage/getCurrentStatus
-https://fire.usky.cn:8443/YtIoT/cgi-bin/DPAction2.cgi
-https://fire.usky.cn:8443/YtIoT/cgi-bin/DPAction.cgi
-iot/excel/view/Exportexl
-iot/data/view/getSyncDataQList
-iot/frontpage/getCurrentObjectListByCompanyId
-iot/company/view/getNameList
-
-basePathApi + 
-
-1. YtIoT/cgi-bin/demo2.cgi
-    参数:'queryJson:' + JSON.stringify(query)   
-    query = {
-        CMD: 3,
-        BODY: {
-            DEVICE: obj.owner_code,
-            ACTION: 0,
-            IDX: 0
-        }
-    }
-
-
-2. iot/frontpage/getCurrentStatus
-    参数:queryJson: Ext.JSON.encode(query)
-    query.dwtype
-    query.level
-    query.COMPANY_CODE
-
-
-3. YtIoT/cgi-bin/DPAction2.cgi / YtIoT/cgi-bin/DPAction.cgi
-    参数:query
-    query.V_LOGINNAME
-    query.V_PASSWORD
-    query.DEVICE_ID
-    query.CMD
-    query.PARAM
-
-4. iot/excel/view/Exportexl
-   参数:queryJson: Ext.JSON.encode(query)
-   query.device_id
-    query.point_code
-    query.EXPORT_FILE
-    query.fields = '[' + fields + ']';
-
-5. iot/data/view/getSyncDataQList
-   参数:queryJson: Ext.JSON.encode(query)
-   query.V_LOGINNAME = V_LOGINNAME;
-    query.V_PASSWORD = V_PASSWORD;
-    query.device_id = devId;
-    query.point_code = ponitId;
-
-6. iot/frontpage/getCurrentObjectListByCompanyId
-   参数:'queryJson=' + Ext.JSON.encode(query)
-   query.COMPANY_CODE
-   query.COMMSTATUS
-
-6. company/view/getNameList
-   参数:queryJson: Ext.JSON.encode(qobj)
-   qobj.V_LOGINNAME