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