You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
527 B
27 lines
527 B
<?php |
|
|
|
namespace Dcat\Admin\OperationLog; |
|
|
|
use Dcat\Admin\Extend\ServiceProvider; |
|
use Dcat\Admin\OperationLog\Http\Middleware\LogOperation; |
|
|
|
class OperationLogServiceProvider extends ServiceProvider |
|
{ |
|
protected $middleware = [ |
|
'middle' => [ |
|
LogOperation::class, |
|
], |
|
]; |
|
|
|
protected $menu = [ |
|
[ |
|
'title' => 'Operation Log', |
|
'uri' => 'auth/operation-logs', |
|
], |
|
]; |
|
|
|
public function settingForm() |
|
{ |
|
return new Setting($this); |
|
} |
|
}
|
|
|