Przeglądaj źródła

PC获取序列号2

chenshibin 4 lat temu
rodzic
commit
4ee27fbd3d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      Controller/SerialNumberController.py

+ 2 - 2
Controller/SerialNumberController.py

@@ -127,8 +127,8 @@ class SerialNumberView(View):
                 value = redisObject.lpop(key)
                 count += 1
 
-            if count == 5 and value is False:
-                return response.json(5)
+            # if count == 5 and value is False:    暂时注释
+            #     return response.json(5)
 
             quantity = int(quantity)