Explorar el Código

定制化推送增加打印

locky hace 1 año
padre
commit
af59e00ba2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)
 
                 # 推送成功,写入系统消息