namespace

This commit is contained in:
zhouyangyang 2020-11-26 14:02:44 +08:00
parent d2a4f06b6a
commit c57f7ff2f9

View File

@ -21,7 +21,7 @@ class LogViewerServiceProvider extends ServiceProvider
{
app('router')->group([
'prefix' => config('zyimm-log-viewer.route.prefix', 'zyimm-logs'),
'namespace' => config('zyimm-log-viewer.route.namespace', 'zyimm\LogViewer'),
'namespace' => config('zyimm-log-viewer.route.namespace', 'Zyimm\LogViewer'),
'middleware' => config('zyimm-log-viewer.route.middleware'),
], function ($router) {
$router->get('/', ['as' => 'zyimm-log-viewer', 'uses' => 'LogController@index',]);