正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
@@ -89,6 +89,7 @@ func NewServiceContext(c config.Config) *ServiceContext { | @@ -89,6 +89,7 @@ func NewServiceContext(c config.Config) *ServiceContext { | ||
89 | ArticleRepository: repository.NewArticleRepository(cache.NewCachedRepository(mlCache)), | 89 | ArticleRepository: repository.NewArticleRepository(cache.NewCachedRepository(mlCache)), |
90 | ArticleSectionRepository: repository.NewArticleSectionRepository(cache.NewCachedRepository(mlCache)), | 90 | ArticleSectionRepository: repository.NewArticleSectionRepository(cache.NewCachedRepository(mlCache)), |
91 | ArticleAndTagRepository: repository.NewArticleAndTagRepository(cache.NewCachedRepository(mlCache)), | 91 | ArticleAndTagRepository: repository.NewArticleAndTagRepository(cache.NewCachedRepository(mlCache)), |
92 | + ArticleCategoryRepository: repository.NewArticleCategoryRepository(cache.NewCachedRepository(mlCache)), | ||
92 | 93 | ||
93 | CompanyRepository: repository.NewCompanyRepository(cache.NewCachedRepository(mlCache)), | 94 | CompanyRepository: repository.NewCompanyRepository(cache.NewCachedRepository(mlCache)), |
94 | DepartmentRepository: repository.NewDepartmentRepository(cache.NewCachedRepository(mlCache)), | 95 | DepartmentRepository: repository.NewDepartmentRepository(cache.NewCachedRepository(mlCache)), |
-
请 注册 或 登录 后发表评论