Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
scm_wms_outstore_service
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
c4862509
authored
May 14, 2020
by
叶明星
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加日志上报
parent
72734e7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
.env
bootstrap/app.php
.env
View file @
c4862509
...
...
@@ -40,3 +40,11 @@ RABBIT_IP=192.168.1.237
RABBIT_PORT=5672
RABBIT_USER=huntadmin
RABBIT_PASS=jy2y2900
//LOG RBMQ配置
RABBITMQ_LOG_HOST=192.168.1.237
RABBITMQ_LOG_PORT=5672
RABBITMQ_LOG_VHOST=/
RABBITMQ_LOG_LOGIN=huntadmin
RABBITMQ_LOG_PASSWORD=jy2y2900
RABBITMQ_LOG_QUEUE=scm_wms_log
bootstrap/app.php
View file @
c4862509
<?php
use
Common\Exceptions\Handler
;
use
ScmWmsCommon\Log\LogMiddleware
;
require_once
__DIR__
.
'/../vendor/autoload.php'
;
...
...
@@ -63,6 +64,7 @@ $app->singleton(
$app
->
middleware
([
// App\Http\Middleware\ExampleMiddleware::class
App\Http\Middleware\UniqueMiddleware
::
class
,
ScmWmsCommon\Log\LogMiddleware
::
class
]);
// $app->routeMiddleware([
...
...
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