소스 검색

修改状态

pengzhibo168 5 년 전
부모
커밋
eee09c66ed
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Controller/DetectController.py

+ 2 - 0
Controller/DetectController.py

@@ -205,6 +205,8 @@ class DetectControllerView(View):
 
         nowTime = int(time.time())
         if dvqs.exists():
+            # 修改状态
+            dvqs.update(NotificationMode=status)
             uid_set_qs = UidSetModel.objects.filter(uid=uid)
             # uid配置信息是否存在