Эх сурвалжийг харах

消息设置添加修改时间

zhangdongming 2 жил өмнө
parent
commit
c8465d98f1

+ 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:{}'