|
@@ -233,18 +233,17 @@ func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx
|
|
|
}
|
|
|
case "o_week_report", "o_month_report":
|
|
|
if powerData.Vip.Status > 0 || power[10] {
|
|
|
-
|
|
|
- if power[10] {
|
|
|
- isMailShow = int64(1)
|
|
|
- }
|
|
|
if name == "o_week_report" {
|
|
|
a_times = append(a_times, "每周推送 (周五 09:00)")
|
|
|
} else {
|
|
|
a_times = append(a_times, "每月推送 (28日 09:00)")
|
|
|
}
|
|
|
IsWxShow := int64(0)
|
|
|
+ if powerData.Vip.Status > 0 {
|
|
|
+ IsWxShow = int64(1)
|
|
|
+ }
|
|
|
if powerData.Vip.Status <= 0 {
|
|
|
- IsWxShow = int64(0)
|
|
|
+ isMailShow = int64(1)
|
|
|
}
|
|
|
if data == nil || len(*data) == 0 {
|
|
|
returnData = &bxsubscribe.PushSet{
|