A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
style: merge from test
kumfobaa24ec0d1d5
diff --cc cmd/answer/wire_gen.goindex 566ca179,396329cd..56a267eb--- a/cmd/answer/wire_gen.go+++ b/cmd/answer/wire_gen.go@@@ -57,8 -58,9 +58,10 @@@ import"github.com/answerdev/answer/internal/service/report_backyard""github.com/answerdev/answer/internal/service/report_handle_backyard""github.com/answerdev/answer/internal/service/revision_common"+ "github.com/answerdev/answer/internal/service/search_parser""github.com/answerdev/answer/internal/service/service_config"+ "github.com/answerdev/answer/internal/service/siteinfo"+ "github.com/answerdev/answer/internal/service/siteinfo_common"tag2 "github.com/answerdev/answer/internal/service/tag""github.com/answerdev/answer/internal/service/tag_common""github.com/answerdev/answer/internal/service/uploader"@@@ -149,10 -152,10 +153,11 @@@ func initApplication(debug bool, serverquestionService := service.NewQuestionService(questionRepo, tagCommonService, questionCommon, userCommon, revisionService, metaService, collectionCommon, answerActivityService)questionController := controller.NewQuestionController(questionService, rankService)answerService := service.NewAnswerService(answerRepo, questionRepo, questionCommon, userCommon, collectionCommon, userRepo, revisionService, answerActivityService, answerCommon, voteRepo)- answerController := controller.NewAnswerController(answerService, rankService)+ dashboardService := dashboard.NewDashboardService(questionRepo, answerRepo, commentCommonRepo, voteRepo, userRepo, reportRepo, configRepo, siteInfoCommonService, serviceConf, dataData)+ answerController := controller.NewAnswerController(answerService, rankService, dashboardService)+ searchParser := search_parser.NewSearchParser(tagRepo, userCommon)searchRepo := search_common.NewSearchRepo(dataData, uniqueIDRepo, userCommon)- searchService := service.NewSearchService(searchRepo, tagRepo, userCommon, followRepo)+ searchService := service.NewSearchService(searchParser, searchRepo)searchController := controller.NewSearchController(searchService)serviceRevisionService := service.NewRevisionService(revisionRepo, userCommon, questionCommon, answerService)revisionController := controller.NewRevisionController(serviceRevisionService)diff --cc internal/service/provider.goindex 8ca7a82c,5c0e4ab9..c76047bf--- a/internal/service/provider.go+++ b/internal/service/provider.go@@@ -21,7 -22,8 +22,9 @@@ import"github.com/answerdev/answer/internal/service/report_backyard""github.com/answerdev/answer/internal/service/report_handle_backyard""github.com/answerdev/answer/internal/service/revision_common"+ "github.com/answerdev/answer/internal/service/siteinfo"+ "github.com/answerdev/answer/internal/service/siteinfo_common"+ "github.com/answerdev/answer/internal/service/search_parser""github.com/answerdev/answer/internal/service/tag"tagcommon "github.com/answerdev/answer/internal/service/tag_common""github.com/answerdev/answer/internal/service/uploader"