Finish the download archive feature.
This commit is contained in:
@ -20,6 +20,7 @@ type AlienController struct {
|
||||
imageCacheDao *ImageCacheDao
|
||||
imageCacheService *ImageCacheService
|
||||
alienService *AlienService
|
||||
shareService *ShareService
|
||||
}
|
||||
|
||||
//初始化方法
|
||||
@ -61,6 +62,11 @@ func (this *AlienController) Init() {
|
||||
if c, ok := b.(*AlienService); ok {
|
||||
this.alienService = c
|
||||
}
|
||||
|
||||
b = core.CONTEXT.GetBean(this.shareService)
|
||||
if c, ok := b.(*ShareService); ok {
|
||||
this.shareService = c
|
||||
}
|
||||
}
|
||||
|
||||
//注册自己的路由。
|
||||
|
Reference in New Issue
Block a user