作者 庄敏学

草稿报错修复

@@ -90,6 +90,7 @@ func NewServiceContext(c config.Config) *ServiceContext { @@ -90,6 +90,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
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 ArticleCategoryRepository: repository.NewArticleCategoryRepository(cache.NewCachedRepository(mlCache)),
  93 + ArticleDraftOperationRepository: repository.NewArticleDraftOperationRepository(cache.NewCachedRepository(mlCache)),
93 94
94 CompanyRepository: repository.NewCompanyRepository(cache.NewCachedRepository(mlCache)), 95 CompanyRepository: repository.NewCompanyRepository(cache.NewCachedRepository(mlCache)),
95 DepartmentRepository: repository.NewDepartmentRepository(cache.NewCachedRepository(mlCache)), 96 DepartmentRepository: repository.NewDepartmentRepository(cache.NewCachedRepository(mlCache)),