chenshibin 4 년 전
부모
커밋
4e43c2db5b
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      Controller/DetectControllerV2.py

+ 4 - 2
Controller/DetectControllerV2.py

@@ -284,7 +284,8 @@ class NotificationView(View):
                     alarm='Motion \tChannel:{channel}'.format(channel=channel),
                     is_st=int_is_st,
                     receiveTime=n_time,
-                    addTime=now_time
+                    addTime=now_time,
+                    storage_location=2
                 ))
                 if is_sys_msg:
                     sys_msg_text = self.get_msg_text(channel=channel, n_time=n_time, lang=lang, tz=tz,
@@ -759,7 +760,8 @@ class PushNotificationView(View):
                     alarm='Motion \tChannel:{channel}'.format(channel=channel),
                     is_st=is_st,
                     receiveTime=n_time,
-                    addTime=now_time
+                    addTime=now_time,
+                    storage_location=2
                 ))
                 if is_sys_msg:
                     sys_msg_text = self.get_msg_text(channel=channel, n_time=n_time, lang=lang, tz=tz,