소스 검색

feat:提交

fuwencai 1 년 전
부모
커밋
1992509893
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jyBXSubscribe/rpc/model/service/pushSet.go

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

@@ -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,