Browse Source

PC获取序列号

chenshibin 4 years ago
parent
commit
2ab51d5bf7
1 changed files with 1 additions and 1 deletions
  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():