Bladeren bron

update

master
DengBiao 1 jaar geleden
bovenliggende
commit
2dbdb86884
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. +11
    -0
      internal/logic/domain/message/service/app_push.go

+ 11
- 0
internal/logic/domain/message/service/app_push.go Bestand weergeven

@@ -5,6 +5,7 @@ import (
md2 "code.fnuoos.com/go_rely_warehouse/zyos_go_jg_push.git/md"
"fmt"
svc "gim/internal/business/comm/service"
"gim/internal/business/comm/utils"
md3 "gim/internal/logic/domain/message/md"
"gim/pkg/logger"
"go.uber.org/zap"
@@ -78,6 +79,16 @@ 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,
"jg_push_app_key": jgPushAppKey,
"jg_push_app_secret": jgPushAppSecret,
}))

logger.Logger.Debug("JgPush_log",
zap.String("send", send),
zap.String("res", res),


Laden…
Annuleren
Opslaan