renjiaojiao преди 1 година
родител
ревизия
d17b2ec208
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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,
 		})