Browse Source

查询消息修改返回结构

zhangdongming 1 year ago
parent
commit
cce422487b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Controller/DetectControllerV2.py

+ 2 - 1
Controller/DetectControllerV2.py

@@ -611,7 +611,8 @@ class DetectControllerViewV2(View):
                 "uid_type": 0,
                 "ai_event_type_list": ai_event_type_list
             }
-            return msg_data
+            datas = [msg_data]
+            return datas
         except Exception as e:
             LOGGER.error('消息跳转异常:, errLine:{}, errMsg:{}'
                          .format(e.__traceback__.tb_lineno, repr(e)))