|
|
@@ -79,12 +79,13 @@ func JgPush(args md3.PushParams) { |
|
|
|
Intent: intent, |
|
|
|
} |
|
|
|
send, res, err := jg_push.Send(jgPushAppKey, jgPushAppSecret, param) |
|
|
|
|
|
|
|
utils.FilePutContents("JgPush", utils.SerializeStr(map[string]interface{}{ |
|
|
|
"send": send, |
|
|
|
"res": res, |
|
|
|
"push_alia": args.PushAlia, |
|
|
|
"title": param.Title, |
|
|
|
"content": param.Content, |
|
|
|
"content": strings.Replace(param.Content, "\\n", "", -1), |
|
|
|
"jg_push_app_key": jgPushAppKey, |
|
|
|
"jg_push_app_secret": jgPushAppSecret, |
|
|
|
})) |
|
|
|