瀏覽代碼

添加 err = SendTemplateMsg(sendInfo)

xingzai 2 年之前
父節點
當前提交
a00c1ce119
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
 }