Commit 910b4cfd by 叶明星

优化

parent 7369b13e
Showing with 4 additions and 2 deletions
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
use App\Http\Middleware\UniqueMiddleware; use App\Http\Middleware\UniqueMiddleware;
use Common\Exceptions\Handler; use Common\Exceptions\Handler;
use Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider;
use Illuminate\Redis\RedisServiceProvider;
require_once __DIR__.'/../vendor/autoload.php'; require_once __DIR__.'/../vendor/autoload.php';
...@@ -30,8 +32,6 @@ $app = new Laravel\Lumen\Application( ...@@ -30,8 +32,6 @@ $app = new Laravel\Lumen\Application(
$app->withEloquent(); $app->withEloquent();
$app->register(Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider::class);
$app->register(Illuminate\Redis\RedisServiceProvider::class);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -89,6 +89,8 @@ $app->singleton( ...@@ -89,6 +89,8 @@ $app->singleton(
// $app->register(App\Providers\AppServiceProvider::class); // $app->register(App\Providers\AppServiceProvider::class);
// $app->register(App\Providers\AuthServiceProvider::class); // $app->register(App\Providers\AuthServiceProvider::class);
// $app->register(App\Providers\EventServiceProvider::class); // $app->register(App\Providers\EventServiceProvider::class);
$app->register(Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider::class);
$app->register(Illuminate\Redis\RedisServiceProvider::class);
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment