Browse Source

定制化推送 - 打印取消订阅客户的user_id

linhaohong 1 year ago
parent
commit
0763759c11
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Service/CustomizedPushService.py

+ 2 - 0
Service/CustomizedPushService.py

@@ -117,6 +117,8 @@ class CustomizedPushObject:
                             userID_id=user_id, title=title, msg=msg, jumpLink=link, addTime=n_time, updTime=n_time))
                     if not user_email_sub_qs.exists():
                         gateway_push_list.append(gateway_push)
+                    else:
+                        CUSTOMIZED_PUSH_LOGGER.info(f'customized_push_id:{customized_push_id}仅保存系统消息, 不推送数据')
                 # 保存系统消息和异步推送消息
                 SysMsgModel.objects.bulk_create(sys_msg_list)
                 pre_push_kwargs = {