Merge branch 'master' of git.int.haowumc.com:composer/php-json-rpc

This commit is contained in:
候学杰 2019-01-30 16:06:45 +08:00
commit e198efa7ce

View File

@ -26,7 +26,7 @@ class LumenServerServiceProvider extends BaseServiceProvider
public function boot() public function boot()
{ {
parent::boot(); parent::boot();
$this->app->middleware(TunnelMiddleware::class); // $this->app->middleware(TunnelMiddleware::class);
$this->app->routeMiddleware(['rpc.security' => Security::class]); $this->app->routeMiddleware(['rpc.security' => Security::class]);
$this->app->router->group([ $this->app->router->group([
'prefix' => 'rpc', 'prefix' => 'rpc',