WuYiPei il y a 5 ans
Parent
commit
2cc6d7abe2
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Controller/DetectController.py

+ 2 - 0
Controller/DetectController.py

@@ -220,6 +220,7 @@ class NotificationView(View):
                 userID_ids.append(userID_id)
         # 是否是系统消息
         test_str = ''
+        test_is_sys_msg = is_sys_msg
         if is_sys_msg:
             SysMsgModel.objects.bulk_create(sys_msg_list)
             test_str = 'tesing'
@@ -237,6 +238,7 @@ class NotificationView(View):
                 up['test_or_www'] = SERVER_TYPE
                 #测试字符串
                 up['test_str'] = test_str
+                up['test_is_sys_msg'] = test_is_sys_msg
                 del up['push_type']
                 del up['userID_id']
                 del up['userID__NickName']