Jelajahi Sumber

添加 err = SendTemplateMsg(sendInfo)

xingzai 2 tahun lalu
induk
melakukan
a00c1ce119
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      services/wechat_send_msg.go

+ 3 - 0
services/wechat_send_msg.go

@@ -369,6 +369,8 @@ func SendWxMsgWithRoadshowDetailResult(first, keyword1, keyword2, remark, mobile
 		sendInfo.Resource = wxAppPath
 		sendInfo.SendType = utils.TEMPLATE_MSG_ACTIVITY_APPOINTMENT
 		sendInfo.OpenIdArr = openIdArr
+
+		err = SendTemplateMsg(sendInfo)
 	}
 	utils.FileLog.Info("send end")
 	return
@@ -682,6 +684,7 @@ func SendYbQuestionDistributeWxMsg(questionId, userId int, openid, questionTitle
 	sendInfo.Resource = wxAppPath
 	sendInfo.SendType = utils.TEMPLATE_MSG_YB_COMMUNITY_QUESTION
 	sendInfo.OpenIdArr = openIdArr
+	err = SendTemplateMsg(sendInfo)
 	return
 }