最新一次版本提交

This commit is contained in:
xuhuixiang
2026-01-06 16:16:49 +08:00
parent 08d67f0fed
commit 17b41fc9bf
5966 changed files with 219734 additions and 1598 deletions

View File

@@ -83,14 +83,14 @@ public class MyFirebaseMessageingService extends FirebaseMessagingService {
channelwinway.enableVibration(true);
notificationManager.createNotificationChannel(channelwinway);
notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
.setSmallIcon(com.web.base.R.mipmap.ic_launcher)
.setSmallIcon(com.web.base.R.mipmap.ic_email)
.setContentTitle(messageInfo.getTitle())
.setContentText(messageInfo.getContent())
.setAutoCancel(true)
.setContentIntent(pendingIntent);
} else {
notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name))
.setSmallIcon(com.web.base.R.mipmap.ic_launcher)
.setSmallIcon(com.web.base.R.mipmap.ic_email)
.setContentTitle(messageInfo.getTitle())
.setContentText(messageInfo.getContent())
.setAutoCancel(true)
@@ -129,14 +129,14 @@ public class MyFirebaseMessageingService extends FirebaseMessagingService {
channelwinway.enableVibration(true);
notificationManager.createNotificationChannel(channelwinway);
notificationBuilder = new NotificationCompat.Builder(this, channelwinway.getId())
.setSmallIcon(com.web.base.R.mipmap.ic_launcher)
.setSmallIcon(com.web.base.R.mipmap.ic_email)
.setContentTitle(title)
.setContentText(body)
.setAutoCancel(true)
.setContentIntent(pendingIntent);
} else {
notificationBuilder = new NotificationCompat.Builder(this, getString(com.web.base.R.string.app_name))
.setSmallIcon(com.web.base.R.mipmap.ic_launcher)
.setSmallIcon(com.web.base.R.mipmap.ic_email)
.setContentTitle(title)
.setContentText(body)
.setAutoCancel(true)