From 781e7ecf3f32e00d9324ce9d03c7a2ae32d607af Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 29 Nov 2022 11:08:41 +0800 Subject: [PATCH] update --- internal/logic/domain/message/service/app_push.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/logic/domain/message/service/app_push.go b/internal/logic/domain/message/service/app_push.go index b42cc04..2c206d7 100644 --- a/internal/logic/domain/message/service/app_push.go +++ b/internal/logic/domain/message/service/app_push.go @@ -3,7 +3,9 @@ package service import ( jg_push "code.fnuoos.com/go_rely_warehouse/zyos_go_jg_push.git/hdl" md2 "code.fnuoos.com/go_rely_warehouse/zyos_go_jg_push.git/md" + "fmt" "gim/internal/business/comm/db" + svc "gim/internal/business/comm/service" md3 "gim/internal/logic/domain/message/md" "gim/pkg/logger" "go.uber.org/zap" @@ -34,7 +36,8 @@ func CommAddPush(args md3.PushParams) { zap.String("reason", args.Memo), zap.String("times", args.Times), ) - pushPlatform := db.DbSysCfg.SysCfgFindWithDb(args.MasterId, "app_push_platform")["app_push_platform"] + pushPlatform := svc.SysCfgGet(args.MasterId, "app_push_platform") + fmt.Println(">>>>>>>>>>>>>>>>>>>>pushPlatform<<<<<<<<<<<<<<<<<<<<<<", pushPlatform) if pushPlatform == "JgPush" { //极光 args.Content = getChangeContent(args, args.Content) JgPush(args)