作者 yangfu

Merge branch 'dev' into test

@@ -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)),