registerBlog(); $this->registerWeb(); $this->registerGlobalConfig(); $this->registerHelp(); $this->registerSuccessCase(); $this->registerDict(); $this->registerProduct(); $this->registerMeeting(); } //注册文章服务 protected function registerBlog(){ $this->app->bind(BlogFacade::class, function () { return app()->make(BlogService::class); }); $this->app->bind(BlogRenderFacade::class, function () { return app()->make(BlogRenderService::class); }); } //注册文章服务 protected function registerWeb(){ $this->app->bind(WebFacade::class, function () { return app()->make(WebService::class); }); } //注册全局配置 protected function registerGlobalConfig(){ $this->app->bind(SysGlobalConfigFacade::class, function () { return app()->make(GlobalConfigService::class); }); } //注册Help protected function registerHelp(){ $this->app->bind(HelpFacade::class, function () { return app()->make(HelpService::class); }); } //注册Dict protected function registerDict(){ $this->app->bind(DictFacade::class, function () { return app()->make(DictService::class); }); } //注册SuccessCase protected function registerSuccessCase(){ $this->app->bind(SuccessCaseFacade::class, function () { return app()->make(SuccessCaseService::class); }); } //注册Product protected function registerProduct(){ $this->app->bind(ProductFacade::class, function () { return app()->make(ProductService::class); }); } //Meeting protected function registerMeeting(){ $this->app->bind(MeetingFacade::class, function () { return app()->make(MeetingService::class); }); } }