abiao лет назад: 3
Родитель
Сommit
38ee10b76f

+ 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)
 		k := cache.GetKey(cache.GetProductByPId, id)
 		cache.Cache.Delete(k)
 		cache.Cache.Delete(k)
 	case t == "user":
 	case t == "user":
+		beego.BeeLogger.Warn("railsadmin after save clean user cache: %d", id)
 		wxUser := user_model.GetWxUserById(id, false)
 		wxUser := user_model.GetWxUserById(id, false)
 		wxUser.CleanCache()
 		wxUser.CleanCache()
 	}
 	}