Browse Source

获取证书 暂时去掉token验证

chenshibin 4 years ago
parent
commit
706c96a8a4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Controller/IotCoreController.py

+ 2 - 2
Controller/IotCoreController.py

@@ -59,8 +59,8 @@ class IotCoreView(View):
             thingGroup = device_version + '_' + language
             thingGroup = device_version + '_' + language
 
 
             # if token != time_stamp and distance > 600: 暂时去掉延时
             # if token != time_stamp and distance > 600: 暂时去掉延时
-            if token != time_stamp or serial_number != serial_number_code :
-                return response.json(404)
+            # if token != time_stamp or serial_number != serial_number_code :
+            #     return response.json(404)
 
 
             serial = serial_number[0:6]
             serial = serial_number[0:6]