diff --git a/internal/logic/domain/message/service/app_push.go b/internal/logic/domain/message/service/app_push.go index e0a50ca..e637341 100644 --- a/internal/logic/domain/message/service/app_push.go +++ b/internal/logic/domain/message/service/app_push.go @@ -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, }))