@@ -57,7 +57,7 @@ func (this *AlarmMsgController) SmsSend() {
emailToUser = configItem.ConfigValue
}
- if emailToUser != `nil` {
+ if emailToUser != `` {
go services.SendAlarmMsgByEmail(req.ProjectName, req.RunMode, req.MsgBody, emailToUser, req.Level)