Sfoglia il codice sorgente

Merge branch 'dev/1.1.31_rjj' of BaseService/jyMicroservices into feature/v1.1.31

renjiaojiao 1 anno fa
parent
commit
f66195c294
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      jyBXSubscribe/rpc/model/service/pushSet.go

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

@@ -50,7 +50,7 @@ func (this *PushSetService) Update(item, setType, pushType string, ratemode, pus
 		}
 	}
 	update := false
-	if this.PositionType == 0 {
+	if this.PositionType == 0 || setType == "message" {
 		update = IC.Mgo.UpdateById(util.USER, this.UserId, map[string]interface{}{
 			"$set": set,
 		})