瀏覽代碼

update

master
DengBiao 2 年之前
父節點
當前提交
2bd7837495
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      internal/logic/domain/message/service/app_push.go

+ 2
- 1
internal/logic/domain/message/service/app_push.go 查看文件

@@ -37,7 +37,6 @@ func CommAddPush(args md3.PushParams) {
zap.String("times", args.Times),
)
pushPlatform := svc.SysCfgGet(args.MasterId, "app_push_platform")
fmt.Println(">>>>>>>>>>>>>>>>>>>>pushPlatform<<<<<<<<<<<<<<<<<<<<<<", pushPlatform)
if pushPlatform == "JgPush" { //极光
args.Content = getChangeContent(args, args.Content)
JgPush(args)
@@ -48,6 +47,8 @@ func CommAddPush(args md3.PushParams) {

func JgPush(args md3.PushParams) {
thirdJgPush := db.DbSysCfg.SysCfgFindWithDb(args.MasterId, "jg_push_app_key", "jg_push_app_secret")
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", thirdJgPush["jg_push_app_key"])
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", thirdJgPush["jg_push_app_secret"])
if thirdJgPush["jg_push_app_key"] == "" || thirdJgPush["jg_push_app_secret"] == "" {
return
}


Loading…
取消
儲存