瀏覽代碼

修改报错

zhangdongming 1 年之前
父節點
當前提交
6cb4badf50
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      Controller/DetectControllerV2.py

+ 4 - 4
Controller/DetectControllerV2.py

@@ -595,13 +595,13 @@ class DetectControllerViewV2(View):
                 "status": False,
                 "answer_status": False,
                 "alarm": "",
-                "is_st": params['is_st'],
-                "storage_location": params['storage_location'],
+                "is_st": is_st,
+                "storage_location": storage_location,
                 "devUid": uid,
                 "devNickName": "",
-                "Channel": params['channel'],
+                "Channel": channel,
                 "eventType": event_type,
-                "eventTime": params['event_time'],
+                "eventTime": event_time,
                 "receiveTime": 0,
                 "addTime": 0,
                 "borderCoords": "",