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,
 | 
								Server:       nil,
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		// 勾选了跳过检查
 | 
							// 勾选了跳过检查
 | 
				
			||||||
		if nf.SkipCheck == "on" {
 | 
							if nf.SkipCheck != "on" {
 | 
				
			||||||
			err = nil
 | 
					 | 
				
			||||||
		} else {
 | 
					 | 
				
			||||||
			err = ns.Send("这是测试消息")
 | 
								err = ns.Send("这是测试消息")
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user