Преглед изворни кода

消息通知默认值处理

WH01243 пре 1 година
родитељ
комит
9f6d726f74
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      jyBXSubscribe/rpc/model/service/pushSet.go

+ 4 - 0
jyBXSubscribe/rpc/model/service/pushSet.go

@@ -351,7 +351,11 @@ func pushSetMontage(in interface{}, name string, powerData *pb.CheckResp, ShowWx
 		iWxpush := int64(0)
 		if registedate > IC.C.Registedate {
 			iApppush = 1
+			if ShowWx {
+				iWxpush = 1
+			}
 		}
+
 		if data == nil || len(*data) == 0 {
 			returnData = &bxsubscribe.PushSet{
 				IApppush: iApppush,