Explorar o código

修复空数据问题

peng %!s(int64=2) %!d(string=hai) anos
pai
achega
dff0ff1c88
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/SerialNumberController.py

+ 1 - 1
Controller/SerialNumberController.py

@@ -725,7 +725,7 @@ class SerialNumberView(View):
         time_stamp_token = request_dict.get('time_stamp_token', None)
         time_stamp = request_dict.get('time_stamp', None)
         if not all([serial_number, time_stamp_token, time_stamp]):
-            return response(444)
+            return response.json(444)
         # 时间戳token校验
         if not CommonService.check_time_stamp_token(time_stamp_token, time_stamp):
             return response.json(13)