Browse Source

PC获取序列号3

chenshibin 4 years ago
parent
commit
61ae7d4b9a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/SerialNumberController.py

+ 1 - 1
Controller/SerialNumberController.py

@@ -115,7 +115,7 @@ class SerialNumberView(View):
             now_time = int(time.time())
             distance = now_time - time_stamp
 
-            if token != time_stamp or distance > 300 or distance < 0:
+            if token != time_stamp or distance > 60000 or distance < 0:
                 return response.json(404)
 
             redisObject = RedisObject()