Update cmd/dashboard/controller/member_api.go

Co-authored-by: naiba <hi@nai.ba>
This commit is contained in:
Akkia 2022-04-23 14:46:33 +08:00 committed by GitHub
parent 036701ae71
commit 892a147b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -418,9 +418,7 @@ func (ma *memberAPI) addOrEditNotification(c *gin.Context) {
Server: nil, Server: nil,
} }
// 勾选了跳过检查 // 勾选了跳过检查
if nf.SkipCheck == "on" { if nf.SkipCheck != "on" {
err = nil
} else {
err = ns.Send("这是测试消息") err = ns.Send("这是测试消息")
} }
} }