Browse Source

查询AI数据列表eventType只返回一种类型2

locky 3 năm trước cách đây
mục cha
commit
a0c04ad1b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Controller/AiController.py

+ 1 - 1
Controller/AiController.py

@@ -692,7 +692,7 @@ class AiView(View):
         )
 
         for p in qs:
-            p['eventType'] = eventType
+            p['eventType'] = p['eventType'][0]
             devUid = p['devUid']
             eventTime = p['eventTime']
             channel = p['Channel']