瀏覽代碼

PC获取序列号

chenshibin 4 年之前
父節點
當前提交
2ab51d5bf7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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():