瀏覽代碼

Merge branch 'dev1.1.19.2_wh' of BaseService/jyMicroservices into hotfix/v1.1.19.2

王浩 2 年之前
父節點
當前提交
593a1d2e02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jyBXSubscribe/rpc/model/service/pushSet.go

+ 1 - 1
jyBXSubscribe/rpc/model/service/pushSet.go

@@ -146,7 +146,7 @@ func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx
 				ATimes:    []string{"每日上午、下午各推送1次"},
 				ATimes:    []string{"每日上午、下午各推送1次"},
 				IApppush:  1,
 				IApppush:  1,
 				IWxpush:   common.Int64All(common.If((*data)["i_wxpush"] == nil, common.If(ShowWx, 1, 0), common.If(ShowWx, (*data)["i_wxpush"], 0))),
 				IWxpush:   common.Int64All(common.If((*data)["i_wxpush"] == nil, common.If(ShowWx, 1, 0), common.If(ShowWx, (*data)["i_wxpush"], 0))),
-				IMailpush: 0,
+				IMailpush: common.Int64All(common.If((*data)["i_mailpush"] == nil, 0, (*data)["i_mailpush"])),
 				IRatemode: 2,
 				IRatemode: 2,
 				IsWxShow:  1,
 				IsWxShow:  1,
 			}
 			}