|
@@ -22,13 +22,14 @@ func SendCalendarResearcherQuestionTips(cont context.Context) (err error) {
|
|
|
|
|
|
var redirectUrl string
|
|
|
|
|
|
- redirectUrl = `/pages-approve/activity/detail?RsCalendarResearcherId=%s&RsCalendarId=%s`
|
|
|
+ redirectUrl = `/pages-approve/activity/detail?RsCalendarResearcherId=`
|
|
|
for _, v := range list {
|
|
|
var openIdArr []string
|
|
|
openIdArr = append(openIdArr, v.OpenId)
|
|
|
|
|
|
keyword1 := v.CompanyName + "路演已结束,请及时填写客户回答"
|
|
|
- redirectUrl = fmt.Sprintf(redirectUrl, strconv.Itoa(v.RsCalendarResearcherId), strconv.Itoa(v.RsCalendarId))
|
|
|
+ //redirectUrl = fmt.Sprintf(redirectUrl, strconv.Itoa(v.RsCalendarResearcherId), strconv.Itoa(v.RsCalendarId))
|
|
|
+ redirectUrl = redirectUrl + strconv.Itoa(v.RsCalendarResearcherId) + "&RsCalendarId=" + strconv.Itoa(v.RsCalendarId)
|
|
|
sendInfo := new(SendWxTemplate)
|
|
|
sendInfo.WxAppId = utils.AdminWxAppId
|
|
|
sendInfo.Keyword1 = keyword1
|