Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
910b4cfd
authored
Aug 23, 2019
by
叶明星
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
优化
parent
7369b13e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
bootstrap/app.php
bootstrap/app.php
View file @
910b4cfd
...
...
@@ -2,6 +2,8 @@
use
App\Http\Middleware\UniqueMiddleware
;
use
Common\Exceptions\Handler
;
use
Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider
;
use
Illuminate\Redis\RedisServiceProvider
;
require_once
__DIR__
.
'/../vendor/autoload.php'
;
...
...
@@ -30,8 +32,6 @@ $app = new Laravel\Lumen\Application(
$app
->
withEloquent
();
$app
->
register
(
Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider
::
class
);
$app
->
register
(
Illuminate\Redis\RedisServiceProvider
::
class
);
/*
|--------------------------------------------------------------------------
...
...
@@ -89,6 +89,8 @@ $app->singleton(
// $app->register(App\Providers\AppServiceProvider::class);
// $app->register(App\Providers\AuthServiceProvider::class);
// $app->register(App\Providers\EventServiceProvider::class);
$app
->
register
(
Hhxsv5\LaravelS\Illuminate\LaravelSServiceProvider
::
class
);
$app
->
register
(
Illuminate\Redis\RedisServiceProvider
::
class
);
/*
|--------------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment