From 35eee92b79a58abbb795db1e172a0ed346b9ee6b Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 1 Mar 2023 21:59:09 +0800 Subject: [PATCH] update --- internal/logic/domain/message/service/app_push.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logic/domain/message/service/app_push.go b/internal/logic/domain/message/service/app_push.go index 3925ad6..27c8aa5 100644 --- a/internal/logic/domain/message/service/app_push.go +++ b/internal/logic/domain/message/service/app_push.go @@ -84,7 +84,7 @@ func JgPush(args md3.PushParams) { "send": send, "res": res, "push_alia": args.PushAlia, - "title": param.Title, + "title": strings.Replace(param.Title, "\\n", "", -1), "content": param.Content, "jg_push_app_key": jgPushAppKey, "jg_push_app_secret": jgPushAppSecret,