chenshibin 4 жил өмнө
parent
commit
61ae7d4b9a

+ 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()