()
| 16 | } |
| 17 | |
| 18 | func (this *ImageCacheController) Init() { |
| 19 | this.BaseController.Init() |
| 20 | |
| 21 | b := core.CONTEXT.GetBean(this.imageCacheDao) |
| 22 | if b, ok := b.(*ImageCacheDao); ok { |
| 23 | this.imageCacheDao = b |
| 24 | } |
| 25 | |
| 26 | b = core.CONTEXT.GetBean(this.imageCacheService) |
| 27 | if b, ok := b.(*ImageCacheService); ok { |
| 28 | this.imageCacheService = b |
| 29 | } |
| 30 | |
| 31 | } |
| 32 | |
| 33 | func (this *ImageCacheController) RegisterRoutes() map[string]func(writer http.ResponseWriter, request *http.Request) { |
| 34 |