v0.15.2 消息模板新增 #DATETIME# 占位符

This commit is contained in:
naiba
2023-09-02 00:06:40 +08:00
parent fc280615dd
commit 93bcf833fd
8 changed files with 107 additions and 122 deletions

View File

@@ -153,6 +153,7 @@ func SendNotification(notificationTag string, desc string, muteLabel *string, ex
ns := model.NotificationServerBundle{
Notification: n,
Server: nil,
Loc: Loc,
}
if len(ext) > 0 {
ns.Server = ext[0]

View File

@@ -12,7 +12,7 @@ import (
"github.com/naiba/nezha/pkg/utils"
)
var Version = "v0.15.1" // !!记得修改 README 中的 badge 版本!!
var Version = "v0.15.2" // !!记得修改 README 中的 badge 版本!!
var (
Conf *model.Config