瀏覽代碼

修改状态

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配置信息是否存在