Browse Source

update

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

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

@@ -79,12 +79,13 @@ func JgPush(args md3.PushParams) {
Intent: intent, Intent: intent,
} }
send, res, err := jg_push.Send(jgPushAppKey, jgPushAppSecret, param) send, res, err := jg_push.Send(jgPushAppKey, jgPushAppSecret, param)

utils.FilePutContents("JgPush", utils.SerializeStr(map[string]interface{}{ utils.FilePutContents("JgPush", utils.SerializeStr(map[string]interface{}{
"send": send, "send": send,
"res": res, "res": res,
"push_alia": args.PushAlia, "push_alia": args.PushAlia,
"title": param.Title, "title": param.Title,
"content": param.Content,
"content": strings.Replace(param.Content, "\\n", "", -1),
"jg_push_app_key": jgPushAppKey, "jg_push_app_key": jgPushAppKey,
"jg_push_app_secret": jgPushAppSecret, "jg_push_app_secret": jgPushAppSecret,
})) }))


Loading…
Cancel
Save