|
@@ -13,12 +13,12 @@ import (
|
|
)
|
|
)
|
|
|
|
|
|
//站内信推送
|
|
//站内信推送
|
|
-func Push(href, action, userid, content, pcLandingPage, appLandingPage, wxLandingPage string) {
|
|
|
|
|
|
+func Push(href, action, userid, content, pcLandingPage, appLandingPage, wxLandingPage, title string) {
|
|
param := url.Values{
|
|
param := url.Values{
|
|
"_action": []string{action},
|
|
"_action": []string{action},
|
|
"userIds": []string{userid},
|
|
"userIds": []string{userid},
|
|
"msgType": []string{"1"},
|
|
"msgType": []string{"1"},
|
|
- "title": []string{"消息提醒"},
|
|
|
|
|
|
+ "title": []string{title},
|
|
"content": []string{content},
|
|
"content": []string{content},
|
|
"link": []string{pcLandingPage},
|
|
"link": []string{pcLandingPage},
|
|
"sendMode": []string{"2"},
|
|
"sendMode": []string{"2"},
|