refactor(push): 使用logger替换console日志输出

将推送通知服务中的console.log和console.error替换为统一的logger工具,
提高日志管理的一致性和可维护性
This commit is contained in:
richarjiang
2025-10-15 10:07:41 +08:00
parent 6cdd2fdf9c
commit 039138f7e4
2 changed files with 5 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ export class PushNotificationManager {
// 获取设备令牌
const token = await this.getDeviceToken();
if (!token) {
console.error('获取设备令牌失败');
return false;