Ver código fonte

消息提醒设置

renjiaojiao 1 ano atrás
pai
commit
d17b2ec208
1 arquivos alterados com 1 adições e 1 exclusões
  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,
 		})