From dc6e016e23a70862cc23e260bafa68959b0f2aff Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 1 Mar 2023 21:46:58 +0800 Subject: [PATCH] update --- internal/logic/domain/message/service/app_push.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, }))