zhangchuanxing 2 هفته پیش
والد
کامیت
de216eecc3
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  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