Ver código fonte

缓存清理优化

shen 4 anos atrás
pai
commit
1c0648d98f

+ 1 - 1
go/gopath/src/fohow.com/apps/models/user_model/wx_user.go

@@ -392,7 +392,7 @@ func (self *WxUser) CleanCache() {
 	//消除user,wxuser缓存
 	userKey := fmt.Sprintf("user.GetByUid[%d]", self.UserId)
 	wxUserKey := cache.GetKey(cache.GetWxUserById, self.Id)
-	beego.BeeLogger.Info("CleanCache--wxuserkey(%s)", wxUserKey)
+	beego.BeeLogger.Warn("CleanCache--wxuserkey(%s)", wxUserKey)
 	cache.Cache.Delete(userKey)
 	cache.Cache.Delete(wxUserKey)
 }