From 2dbdb86884c414045c6c9778b2ea977359162ac1 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 28 Feb 2023 20:11:36 +0800 Subject: [PATCH] update --- internal/logic/domain/message/service/app_push.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/internal/logic/domain/message/service/app_push.go b/internal/logic/domain/message/service/app_push.go index 0ecaf6e..9a4de3a 100644 --- a/internal/logic/domain/message/service/app_push.go +++ b/internal/logic/domain/message/service/app_push.go @@ -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),