Explorar o código

获取证书 暂时去掉token验证

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
706c96a8a4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Controller/IotCoreController.py

+ 2 - 2
Controller/IotCoreController.py

@@ -59,8 +59,8 @@ class IotCoreView(View):
             thingGroup = device_version + '_' + language
 
             # 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]