peng пре 2 година
родитељ
комит
5cc7e364c7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Controller/FileController.py

+ 1 - 1
Controller/FileController.py

@@ -731,7 +731,7 @@ class DownloadSerialNumberFileView(View):
             sn_qs = SerialNumberModel.objects.filter(serial_number__in=sns)
             count = result['num']
             if count < quantity:
-                return response.json(444, '序列号不足')
+                return response.json(14)
 
             if sn_qs.exists():