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