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