Ver código fonte

update

master
DengBiao 1 ano atrás
pai
commit
2dbdb86884
1 arquivos alterados com 11 adições e 0 exclusões
  1. +11
    -0
      internal/logic/domain/message/service/app_push.go

+ 11
- 0
internal/logic/domain/message/service/app_push.go Ver arquivo

@@ -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),


Carregando…
Cancelar
Salvar