|
@@ -228,7 +228,7 @@ func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx
|
|
|
returnData = &bxsubscribe.PushSet{
|
|
|
ATimes: []string{"实时推送"},
|
|
|
IApppush: common.Int64All(common.If((*data)["i_apppush"] == nil, 1, (*data)["i_apppush"])),
|
|
|
- IWxpush: common.Int64All(common.If(ShowWx, 1, 0)),
|
|
|
+ IWxpush: common.Int64All(common.If((*data)["i_wxpush"] == nil, common.If(ShowWx, 1, 0), common.If(ShowWx, (*data)["i_wxpush"], 0))),
|
|
|
IMailpush: common.Int64All(common.If((*data)["i_mailpush"] == nil, 0, (*data)["i_mailpush"])),
|
|
|
IRatemode: 1,
|
|
|
IsWxShow: 1,
|