Kaynağa Gözat

update

master
DengBiao 1 yıl önce
ebeveyn
işleme
2dbdb86884
1 değiştirilmiş dosya ile 11 ekleme ve 0 silme
  1. +11
    -0
      internal/logic/domain/message/service/app_push.go

+ 11
- 0
internal/logic/domain/message/service/app_push.go Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet