refactor(push): 使用logger替换console日志输出
将推送通知服务中的console.log和console.error替换为统一的logger工具, 提高日志管理的一致性和可维护性
This commit is contained in:
@@ -81,6 +81,7 @@ export class PushNotificationManager {
|
||||
|
||||
// 获取设备令牌
|
||||
const token = await this.getDeviceToken();
|
||||
|
||||
if (!token) {
|
||||
console.error('获取设备令牌失败');
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user