Browse Source

update

master
DengBiao 2 years ago
parent
commit
2bd7837495
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      internal/logic/domain/message/service/app_push.go

+ 2
- 1
internal/logic/domain/message/service/app_push.go View File

@@ -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…
Cancel
Save