Explorar el Código

PC获取序列号

chenshibin hace 4 años
padre
commit
2ab51d5bf7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/SerialNumberController.py

+ 1 - 1
Controller/SerialNumberController.py

@@ -130,7 +130,7 @@ class SerialNumberView(View):
             if count == 5 and value is False:
                 return response.json(5)
 
-            quantity = int( Q)
+            quantity = int(quantity)
 
             company_serial_qs = CompanySerialModel.objects.filter(company__secret=company_id, status=0)
             if not company_serial_qs.exists():