Browse Source

场景日志参数校验

peng 2 years ago
parent
commit
12238280ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/SensorGateway/SmartSceneController.py

+ 1 - 1
Controller/SensorGateway/SmartSceneController.py

@@ -772,7 +772,7 @@ class SmartSceneView(View):
         end_time = request_dict.get('endTime', None)
 
         if not all([family_id, page, size]):
-            return response.json(444, {'error param': 'page or size'})
+            return response.json(444, {'error param': 'familyId or page or size'})
         if not any([device_id, sub_device_id]):
             return response.json(444, {'error param': 'deviceId and subDeviceId'})
         if sub_device_id: