21
Some checks are pending
continuous-integration/drone/push Build is running

This commit is contained in:
zpc 2026-03-29 21:58:59 +08:00
parent 5db16f9a30
commit 55d36ffd8e

View File

@ -254,7 +254,8 @@ public class NotificationService : INotificationService
unlockerUser?.Nickname ?? "有人",
$"编号{unlockerUser?.XiangQinNo ?? ""}刚刚访问了您",
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
"pages/interact/unlockedMe");
"pages/interact/unlockedMe",
unlockerUser?.Phone);
}
// 回退到小程序订阅消息
@ -313,7 +314,8 @@ public class NotificationService : INotificationService
favoriterUser?.Nickname ?? "有人",
$"编号{favoriterUser?.XiangQinNo ?? ""}收藏了您",
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
"pages/interact/favoritedMe");
"pages/interact/favoritedMe",
favoriterUser?.Phone);
}
// 回退到小程序订阅消息
@ -372,7 +374,8 @@ public class NotificationService : INotificationService
senderUser?.Nickname ?? "有人",
$"编号{senderUser?.XiangQinNo ?? ""}给您发送了一条消息",
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
"pages/chat/index");
"pages/chat/index",
senderUser?.Phone);
}
// 回退到小程序订阅消息
@ -431,7 +434,8 @@ public class NotificationService : INotificationService
senderUser?.Nickname ?? "有人",
$"编号{senderUser?.XiangQinNo ?? ""}正在等待您的回复",
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
"pages/chat/index");
"pages/chat/index",
senderUser?.Phone);
}
// 回退到小程序订阅消息
@ -533,7 +537,8 @@ public class NotificationService : INotificationService
string name,
string content,
string time,
string page)
string page,
string? phone = null)
{
try
{
@ -562,6 +567,7 @@ public class NotificationService : INotificationService
"name" => name,
"content" => content,
"time" => time,
"phone" => phone ?? "",
"remark" => "点击查看详情",
_ => valueKey ?? ""
};