浏览代码

优化代码

zhangdongming 1 年之前
父节点
当前提交
89274b4d92
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Controller/DetectControllerV2.py

+ 1 - 0
Controller/DetectControllerV2.py

@@ -177,6 +177,7 @@ class DetectControllerViewV2(View):
                     msg_data['appPush'] = -1
                     uid_set_data['msg_notify'] = msg_data
                 elif status == 1 and uid_set_qs.first().detect_status == 0:
+                    uid_set_data['detect_interval'] = 60
                     msg_data = {'appPush': 1,
                                 'pushTime': {'allDay': 1, 'repeat': 127, 'endTime': 0, 'timeZone': '+08.00',
                                              'startTime': 0},