|
@@ -48,13 +48,15 @@ func JgPush(args md3.PushParams) { |
|
|
jgPushAppKey := svc.SysCfgGet(args.MasterId, "jg_push_app_key") |
|
|
jgPushAppKey := svc.SysCfgGet(args.MasterId, "jg_push_app_key") |
|
|
jgPushAppSecret := svc.SysCfgGet(args.MasterId, "jg_push_app_secret") |
|
|
jgPushAppSecret := svc.SysCfgGet(args.MasterId, "jg_push_app_secret") |
|
|
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", jgPushAppKey) |
|
|
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", jgPushAppKey) |
|
|
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_key<<<<<<<<<<<<<<<<<<<<<<", jgPushAppSecret) |
|
|
|
|
|
|
|
|
fmt.Println(">>>>>>>>>>>>>>>>>>>>jg_push_app_secret<<<<<<<<<<<<<<<<<<<<<<", jgPushAppSecret) |
|
|
if jgPushAppKey == "" || jgPushAppSecret == "" { |
|
|
if jgPushAppKey == "" || jgPushAppSecret == "" { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
//alia := db.DbUserPushForJg.UserPushForJgGetWithDb(args.MasterId, args.Uid) |
|
|
//alia := db.DbUserPushForJg.UserPushForJgGetWithDb(args.MasterId, args.Uid) |
|
|
var aud = md2.PushAudience{Alias: []string{args.PushAlia}} |
|
|
var aud = md2.PushAudience{Alias: []string{args.PushAlia}} |
|
|
var extras interface{} |
|
|
|
|
|
|
|
|
var extras = map[string]interface{}{ |
|
|
|
|
|
"extras": "拓展信息", |
|
|
|
|
|
} |
|
|
var param = md2.PushParam{ |
|
|
var param = md2.PushParam{ |
|
|
Platform: "all", |
|
|
Platform: "all", |
|
|
Audience: aud, |
|
|
Audience: aud, |
|
|