Browse Source

修改返回提示

peng 2 năm trước cách đây
mục cha
commit
5cc7e364c7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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():