소스 검색

修改报错

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": "",