feat: 优化,改造通知模块

This commit is contained in:
橙子
2024-08-07 00:01:44 +08:00
parent 84b11ae6a8
commit 578d410b77
6 changed files with 40 additions and 9 deletions

View File

@@ -16,8 +16,34 @@ namespace Yi.Framework.Bbs.Domain.Shared.Consts
public const string Privacy = "【私密】您无该主题权限,可联系作者申请开放";
public const string AgreeNotice = "您的主题[{0}]被[{1}]用户点赞!得到一致认可,发现宝藏内容!";
public const string CommentNotice = "您的主题[{0}]被[{1}]用户评论!评论内容:[{2}]";
public const string AgreeNotice = """
<div>
<h3 class="title" style="color: #333; font-size: 18px; margin: 0 0 10px;">🍗 [{0}] [{1}] </h3>
<p class="link" style="color: #555;font-size: 16px;">
<a href="/article/{2}" target="_blank" style="color: #007BFF;text-decoration: none;">https://ccnetcore.com/article/{2}</a>
</p>
</div>
""";
public const string CommentNotice = """
<div>
<h3 class="title" style="color: #333; font-size: 18px; margin: 0 0 10px;">🍖 [{0}] [{1}] !</h3>
<p class="link" style="color: #555;font-size: 16px;">
[{2}]
<a href="/article/{3}" target="_blank" style="color: #007BFF;text-decoration: none;">https://ccnetcore.com/article/{3}</a>
</p>
</div>
""";
public const string CommentNoticeToReply= """
<div>
<h3 class="title" style="color: #333; font-size: 18px; margin: 0 0 10px;">🍖 [{0}] [{1}] !</h3>
<p class="link" style="color: #555;font-size: 16px;">
[{2}]
<a href="/article/{3}" target="_blank" style="color: #007BFF;text-decoration: none;">https://ccnetcore.com/article/{3}</a>
</p>
</div>
""";
}
}