Browse Source

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

locky 3 years ago
parent
commit
86f4c28bed
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Controller/AiController.py

+ 1 - 0
Controller/AiController.py

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