浏览代码

定制化推送增加打印

locky 1 年之前
父节点
当前提交
af59e00ba2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Service/CustomizedPushService.py

+ 1 - 0
Service/CustomizedPushService.py

@@ -95,6 +95,7 @@ class CustomizedPushObject:
                 app_bundle_id = gateway_push['app_bundle_id']
                 token_val = gateway_push['token_val']
 
+                CUSTOMIZED_PUSH_LOGGER.info('准备推送: {}'.format(user_id))
                 push_succeed = cls.push_msg(push_type, app_bundle_id, token_val, n_time, title, msg, icon_link)
 
                 # 推送成功,写入系统消息