diff --git a/src/larke/admin/Facade/Event.php b/src/larke/admin/Facade/Event.php index e127bc2..d9a816e 100644 --- a/src/larke/admin/Facade/Event.php +++ b/src/larke/admin/Facade/Event.php @@ -16,6 +16,6 @@ class Event extends Facade { protected static function getFacadeAccessor() { - return 'larke-admin.event'; + return 'larke-admin.events'; } } diff --git a/src/larke/admin/ServiceProvider.php b/src/larke/admin/ServiceProvider.php index de27c59..e4c70c5 100644 --- a/src/larke/admin/ServiceProvider.php +++ b/src/larke/admin/ServiceProvider.php @@ -217,7 +217,7 @@ protected function registerBind() $this->app->bind('larke-admin.loader', Loader::class); // 事件 - $this->app->singleton('larke-admin.event', function() { + $this->app->singleton('larke-admin.events', function() { $pool = new Events\Pool(); return new Events\Events($pool); });