Browse Source

no message

zhangchuanxing 2 weeks ago
parent
commit
de216eecc3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      services/cygx_template_record_source.go

+ 3 - 0
services/cygx_template_record_source.go

@@ -22,6 +22,9 @@ func SendCygxTemplateRecordSource(log models.WxUserRaiLabelRedis) (err error) {
 			go utils.SendAlarmMsg(fmt.Sprint("Kp互动提醒失败,SendCygxTemplateRecordSource err", err.Error(), log), 2)
 		}
 	}()
+	if userId == 0 {
+		return
+	}
 
 	var keyword1 string
 	var keyword2 string