|
|
@@ -74,7 +74,7 @@ func JgPush(args md3.PushParams) { |
|
|
|
Platform: "all", |
|
|
|
Audience: aud, |
|
|
|
Title: args.Title, |
|
|
|
Content: args.Content, |
|
|
|
Content: strings.Replace(args.Content, "\\n", "", -1), |
|
|
|
Extras: extras, |
|
|
|
Intent: intent, |
|
|
|
} |
|
|
@@ -85,7 +85,7 @@ func JgPush(args md3.PushParams) { |
|
|
|
"res": res, |
|
|
|
"push_alia": args.PushAlia, |
|
|
|
"title": param.Title, |
|
|
|
"content": strings.Replace(param.Content, "\\n", "", -1), |
|
|
|
"content": param.Content, |
|
|
|
"jg_push_app_key": jgPushAppKey, |
|
|
|
"jg_push_app_secret": jgPushAppSecret, |
|
|
|
})) |
|
|
|