Explorar o código

修改返回提示

peng %!s(int64=2) %!d(string=hai) anos
pai
achega
5cc7e364c7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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():