|
@@ -105,8 +105,8 @@ func formatUserId(useridArr []string) (userids string) {
|
|
|
|
|
|
//站内信推送
|
|
|
func stationMailPush(userid, activityName, pcLandingPage, wxLandingPage, appLandingPage string, idArr []int64) {
|
|
|
- href := fmt.Sprintf("%s?_action=%s&userIds=%s&msgType=1&title=消息提醒&content=%s&link=%s&sendMode=2&sendTime=%s&androidUrl=%s&iosUrl=%s&weChatUrl=%s&_token=12311",
|
|
|
- Pushcfg.StationMailHref, Pushcfg.StationMailAction, userid, fmt.Sprintf(Pushcfg.Content, activityName), pcLandingPage, date.NowFormat(date.Date_Short_Layout), appLandingPage, appLandingPage, wxLandingPage)
|
|
|
+ href := fmt.Sprintf("%s?_action=%s&userIds=%s&msgType=1&title=%s&content=%s&link=%s&sendMode=2&sendTime=%s&androidUrl=%s&iosUrl=%s&weChatUrl=%s&_token=12311&reqSource=1",
|
|
|
+ Pushcfg.StationMailHref, Pushcfg.StationMailAction, userid, activityName, fmt.Sprintf(Pushcfg.Content, activityName), pcLandingPage, date.NowFormat(date.Date_Short_Layout), appLandingPage, appLandingPage, wxLandingPage)
|
|
|
log.Println(href)
|
|
|
resp, err := http.Get(href)
|
|
|
if err != nil {
|