ソースを参照

clear user cache-1

abiao 3 年 前
コミット
38ee10b76f
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      go/gopath/src/fohow.com/apps/controllers/railsadmin_controller/cache_controller.go

+ 1 - 0
go/gopath/src/fohow.com/apps/controllers/railsadmin_controller/cache_controller.go

@@ -46,6 +46,7 @@ func (self *RailsadminController) CleanCache() {
 		k := cache.GetKey(cache.GetProductByPId, id)
 		cache.Cache.Delete(k)
 	case t == "user":
+		beego.BeeLogger.Warn("railsadmin after save clean user cache: %d", id)
 		wxUser := user_model.GetWxUserById(id, false)
 		wxUser.CleanCache()
 	}