Browse Source

update

master
DengBiao 1 year ago
parent
commit
b79ea77eb1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      internal/logic/domain/message/service/app_push.go

+ 2
- 2
internal/logic/domain/message/service/app_push.go View File

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


Loading…
Cancel
Save