|
@@ -65,7 +65,7 @@ func SendCategoryTemplateMsg(sendInfo *SendWxCategoryTemplate) (err error) {
|
|
|
}
|
|
|
|
|
|
// 发送用户操作活动消息提醒
|
|
|
-func SendWxCategoryMsgWithActivityUserRemind(keyWord1, keyWord2, keyWord3, keyWord4 string, openIdList []*models.OpenIdList, activityId int) (err error) {
|
|
|
+func SendWxCategoryMsgWithActivityUserRemind(keyWord1, keyWord2, keyWord3, keyWord4, redirectUrl string, openIdList []*models.OpenIdList, activityId int) (err error) {
|
|
|
if len(openIdList) == 0 {
|
|
|
return
|
|
|
}
|
|
@@ -98,6 +98,7 @@ func SendWxCategoryMsgWithActivityUserRemind(keyWord1, keyWord2, keyWord3, keyWo
|
|
|
sendInfo.Keywords = keywords
|
|
|
sendInfo.TemplateId = utils.WxMsgCategoryTemplateIdActivityPublishApply
|
|
|
sendInfo.RedirectTarget = 4
|
|
|
+ sendInfo.RedirectUrl = redirectUrl
|
|
|
sendInfo.SendType = utils.TEMPLATE_MSG_CYGX_APPLY
|
|
|
sendInfo.OpenIdArr = openIdArr
|
|
|
err = SendCategoryTemplateMsg(sendInfo)
|