mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
WIP: 添加更多的占位符以支持基于服务器状态指标构造自定义的HTTP请求
This commit is contained in:
@@ -412,7 +412,11 @@ func (ma *memberAPI) addOrEditNotification(c *gin.Context) {
|
||||
verifySSL := nf.VerifySSL == "on"
|
||||
n.VerifySSL = &verifySSL
|
||||
n.ID = nf.ID
|
||||
err = n.Send("这是测试消息")
|
||||
ns := model.NotificationServerBundle{
|
||||
Notification: &n,
|
||||
Server: nil,
|
||||
}
|
||||
err = ns.Send("这是测试消息")
|
||||
}
|
||||
if err == nil {
|
||||
// 保证Tag不为空
|
||||
|
||||
Reference in New Issue
Block a user