chenjunkai 7 سال پیش
والد
کامیت
17016786cf
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      Controller/EquipmentOTA.py

+ 1 - 0
Controller/EquipmentOTA.py

@@ -91,6 +91,7 @@ class EquipmentOTA(View):
                     send_json = CommonService.query_set_to_dict(res)
                     send_json['count'] = count
                     return ResponseJSON(0, send_json)
+                return ResponseJSON(0)
             else:
                 return ResponseJSON(404)
         else: