Bläddra i källkod

update

master
DengBiao 2 år sedan
förälder
incheckning
2bd7837495
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. +2
    -1
      internal/logic/domain/message/service/app_push.go

+ 2
- 1
internal/logic/domain/message/service/app_push.go Visa fil

@@ -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
}


Laddar…
Avbryt
Spara