Ver Fonte

消息跳转接口返回数组

zhangdongming há 1 ano atrás
pai
commit
c86c7e911f
1 ficheiros alterados com 2 adições e 1 exclusões
  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)))