Update cmd/dashboard/controller/member_api.go
Co-authored-by: naiba <hi@nai.ba>
This commit is contained in:
parent
036701ae71
commit
892a147b5a
@ -418,9 +418,7 @@ func (ma *memberAPI) addOrEditNotification(c *gin.Context) {
|
||||
Server: nil,
|
||||
}
|
||||
// 勾选了跳过检查
|
||||
if nf.SkipCheck == "on" {
|
||||
err = nil
|
||||
} else {
|
||||
if nf.SkipCheck != "on" {
|
||||
err = ns.Send("这是测试消息")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user