|
@@ -317,18 +317,23 @@ func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx
|
|
|
}
|
|
|
case "o_msg_active", "o_msg_service", "o_msg_jyschool", "o_msg_privateletter", "o_msg_business":
|
|
|
isReturnMailShow = false
|
|
|
- log.Println("data", data)
|
|
|
+ log.Println(name, data)
|
|
|
+ var isWXShow int64
|
|
|
+ isWXShow = 1
|
|
|
+ if name == "o_msg_active" {
|
|
|
+ isWXShow = 0
|
|
|
+ }
|
|
|
if data == nil || len(*data) == 0 {
|
|
|
returnData = &bxsubscribe.PushSet{
|
|
|
IApppush: 0,
|
|
|
IWxpush: 0,
|
|
|
- IsWxShow: 1,
|
|
|
+ IsWxShow: isWXShow,
|
|
|
}
|
|
|
} else {
|
|
|
returnData = &bxsubscribe.PushSet{
|
|
|
IApppush: common.Int64All(common.If((*data)["i_apppush"] == nil, 0, (*data)["i_apppush"])),
|
|
|
IWxpush: common.Int64All(common.If((*data)["i_wxpush"] == nil, 0, (*data)["i_wxpush"])),
|
|
|
- IsWxShow: 1,
|
|
|
+ IsWxShow: isWXShow,
|
|
|
}
|
|
|
}
|
|
|
}
|