Browse Source

消息设置添加修改时间

zhangdongming 2 years ago
parent
commit
c8465d98f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/DetectControllerV2.py

+ 1 - 1
Controller/DetectControllerV2.py

@@ -91,7 +91,7 @@ class DetectControllerViewV2(View):
             uid_set_qs = UidSetModel.objects.filter(uid=uid)
             if not uid_set_qs.exists():
                 return response.json(173)
-            uid_set_qs.update(msg_notify=data)
+            uid_set_qs.update(msg_notify=data, updTime=int(time.time()))
             return response.json(0)
         except Exception as e:
             LOGGER.info('*****DetectControllerViewV2.message_notification_set:errLine:{}, errMsg:{}'