浏览代码

缓存清理优化

shen 4 年之前
父节点
当前提交
1c0648d98f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      go/gopath/src/fohow.com/apps/models/user_model/wx_user.go

+ 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)
 }