mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-07-20 03:26:18 +00:00
feat: 通知自测通过
This commit is contained in:
@@ -33,7 +33,7 @@ public class NotificationService {
|
|||||||
@Value("${app.website-url}")
|
@Value("${app.website-url}")
|
||||||
private String websiteUrl;
|
private String websiteUrl;
|
||||||
|
|
||||||
private static final Pattern MENTION_PATTERN = Pattern.compile("@([A-Za-z0-9_]+)");
|
private static final Pattern MENTION_PATTERN = Pattern.compile("@\\[([^\\]]+)\\]");
|
||||||
|
|
||||||
private String buildPayload(String body, String url) {
|
private String buildPayload(String body, String url) {
|
||||||
// try {
|
// try {
|
||||||
|
|||||||
Reference in New Issue
Block a user