소스 검색

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