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
5ee03948
authored
Aug 22, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修改错误码,整理错误码
parent
289abc04
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
45 deletions
app/Http/Controllers/ExchangeSettingsController.php
app/Http/Controllers/IntegralBillsController.php
app/Http/Controllers/IntegralsController.php
app/Http/Controllers/UserExchangesController.php
app/Http/Controllers/UserIntegralsController.php
storage/laravels.json
storage/laravels.pid
app/Http/Controllers/ExchangeSettingsController.php
View file @
5ee03948
...
@@ -31,7 +31,7 @@ class ExchangeSettingsController extends Controller
...
@@ -31,7 +31,7 @@ class ExchangeSettingsController extends Controller
}
}
/**
/**
* 红包兑换项列表
* 红包
商品
兑换项列表
* @param Request $request
* @param Request $request
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSettingFilter $filter
* @param ExchangeSettingFilter $filter
...
@@ -49,7 +49,7 @@ class ExchangeSettingsController extends Controller
...
@@ -49,7 +49,7 @@ class ExchangeSettingsController extends Controller
/**
/**
* 存储新增的
红包配置项
* 存储新增的
兑换商品项目
* @param Request $request
* @param Request $request
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSetting $exchangeSetting
* @return array
* @return array
...
@@ -68,12 +68,12 @@ class ExchangeSettingsController extends Controller
...
@@ -68,12 +68,12 @@ class ExchangeSettingsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
041
,
5
),
'新增红包配置项
失败'
);
return
$this
->
Export
(
ErrorCode
(
11
,
5
),
'新增兑换商品项目
失败'
);
}
}
}
}
/**
/**
* 更新
红包配置项
* 更新
兑换商品项目
* @param Request $request
* @param Request $request
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSetting $exchangeSetting
* @return array
* @return array
...
@@ -91,7 +91,7 @@ class ExchangeSettingsController extends Controller
...
@@ -91,7 +91,7 @@ class ExchangeSettingsController extends Controller
];
];
$res
=
$exchangeSetting
->
updateExchangeSetting
(
$id
,
$data
);
$res
=
$exchangeSetting
->
updateExchangeSetting
(
$id
,
$data
);
if
(
!
$res
)
{
if
(
!
$res
)
{
return
$this
->
Export
(
042
,
'更新红包配置项
失败'
);
return
$this
->
Export
(
12
,
'更新兑换商品项目
失败'
);
}
else
{
}
else
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
}
...
@@ -117,12 +117,12 @@ class ExchangeSettingsController extends Controller
...
@@ -117,12 +117,12 @@ class ExchangeSettingsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
045
,
'修改配置项
可使用状态失败'
);
return
$this
->
Export
(
14
,
'修改兑换商品项目
可使用状态失败'
);
}
}
}
}
/**
/**
* 删除
红包配置项
* 删除
兑换商品项目
* @param Request $request
* @param Request $request
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSetting $exchangeSetting
* @return array
* @return array
...
@@ -135,12 +135,12 @@ class ExchangeSettingsController extends Controller
...
@@ -135,12 +135,12 @@ class ExchangeSettingsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
043
,
5
),
'删除红包配置项
失败'
);
return
$this
->
Export
(
ErrorCode
(
13
,
5
),
'删除兑换商品项目
失败'
);
}
}
}
}
/**
/**
* 批量更新
红包配置项
状态
* 批量更新
兑换商品项目
状态
* @param Request $request
* @param Request $request
* @param ExchangeSetting $exchangeSetting
* @param ExchangeSetting $exchangeSetting
* @return array
* @return array
...
@@ -156,7 +156,7 @@ class ExchangeSettingsController extends Controller
...
@@ -156,7 +156,7 @@ class ExchangeSettingsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
044
,
5
),
'删除红包配置项
失败'
);
return
$this
->
Export
(
ErrorCode
(
15
,
5
),
'批量更新兑换商品项目可使用状态
失败'
);
}
}
}
}
}
}
\ No newline at end of file
app/Http/Controllers/IntegralBillsController.php
View file @
5ee03948
...
@@ -33,7 +33,7 @@ class IntegralBillsController extends Controller
...
@@ -33,7 +33,7 @@ class IntegralBillsController extends Controller
}
}
/**
/**
* 创建红包
账单
* 创建红包
获取记录
* @param Request $request
* @param Request $request
* @param IntegralBill $integralBill
* @param IntegralBill $integralBill
* @return array
* @return array
...
@@ -52,12 +52,12 @@ class IntegralBillsController extends Controller
...
@@ -52,12 +52,12 @@ class IntegralBillsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
021
,
5
),
'新增红包兑换
记录失败'
);
return
$this
->
Export
(
ErrorCode
(
6
,
5
),
'新增红包获取
记录失败'
);
}
}
}
}
/**
/**
* 更新红包
账单
* 更新红包
获取记录
* @param Request $request
* @param Request $request
* @param IntegralBill $integralBill
* @param IntegralBill $integralBill
* @return array
* @return array
...
@@ -77,12 +77,12 @@ class IntegralBillsController extends Controller
...
@@ -77,12 +77,12 @@ class IntegralBillsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
022
,
5
),
'更新红包账单
失败'
);
return
$this
->
Export
(
ErrorCode
(
7
,
5
),
'更新红包获取记录
失败'
);
}
}
}
}
/**
/**
* 删除红包
账单
* 删除红包
获取记录
* @param Request $request
* @param Request $request
* @param IntegralBill $integralBill
* @param IntegralBill $integralBill
* @return array
* @return array
...
@@ -95,7 +95,7 @@ class IntegralBillsController extends Controller
...
@@ -95,7 +95,7 @@ class IntegralBillsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
023
,
5
),
'删除红包账单
失败'
);
return
$this
->
Export
(
ErrorCode
(
8
,
5
),
'删除红包获取记录
失败'
);
}
}
}
}
}
}
\ No newline at end of file
app/Http/Controllers/IntegralsController.php
View file @
5ee03948
...
@@ -67,7 +67,7 @@ class IntegralsController extends Controller
...
@@ -67,7 +67,7 @@ class IntegralsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
ErrorCode
(
00
1
,
5
),
'新增红包信息失败'
);
return
$this
->
Export
(
ErrorCode
(
1
,
5
),
'新增红包信息失败'
);
}
}
}
}
...
@@ -92,6 +92,24 @@ class IntegralsController extends Controller
...
@@ -92,6 +92,24 @@ class IntegralsController extends Controller
if
(
!
$res
)
{
if
(
!
$res
)
{
return
$this
->
Export
(
002
,
'更新红包信息失败'
);
return
$this
->
Export
(
002
,
'更新红包信息失败'
);
}
else
{
}
else
{
return
$this
->
Export
(
2
,
'ok'
);
}
}
/**
* 删除红包
* @param Request $request
* @param Integral $integral
* @return array
*/
public
function
destroy
(
Request
$request
,
Integral
$integral
)
{
$ids
=
$request
->
ids
;
$ids
=
explode
(
','
,
trim
(
$ids
));
$res
=
$integral
->
deleteIntegral
(
$ids
);
if
(
!
$res
)
{
return
$this
->
Export
(
ErrorCode
(
3
,
5
),
'删除红包信息失败'
);
}
else
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
}
}
}
...
@@ -115,7 +133,7 @@ class IntegralsController extends Controller
...
@@ -115,7 +133,7 @@ class IntegralsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
00
5
,
'修改红包可使用状态失败'
);
return
$this
->
Export
(
5
,
'修改红包可使用状态失败'
);
}
}
}
}
...
@@ -136,25 +154,7 @@ class IntegralsController extends Controller
...
@@ -136,25 +154,7 @@ class IntegralsController extends Controller
$res
=
$integral
->
batchUpdateStatus
(
$ids
,
$data
);
$res
=
$integral
->
batchUpdateStatus
(
$ids
,
$data
);
if
(
!
$res
)
{
if
(
!
$res
)
{
return
$this
->
Export
(
004
,
'批量更新红包信息状态失败'
);
return
$this
->
Export
(
4
,
'批量更新红包可使用状态失败'
);
}
else
{
return
$this
->
Export
(
0
,
'ok'
);
}
}
/**
* 删除红包
* @param Request $request
* @param Integral $integral
* @return array
*/
public
function
destroy
(
Request
$request
,
Integral
$integral
)
{
$ids
=
$request
->
ids
;
$ids
=
explode
(
','
,
trim
(
$ids
));
$res
=
$integral
->
deleteIntegral
(
$ids
);
if
(
!
$res
)
{
return
$this
->
Export
(
ErrorCode
(
003
,
5
),
'删除红包信息失败'
);
}
else
{
}
else
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
}
...
...
app/Http/Controllers/UserExchangesController.php
View file @
5ee03948
...
@@ -68,7 +68,7 @@ class UserExchangesController extends Controller
...
@@ -68,7 +68,7 @@ class UserExchangesController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
033
,
'审核用户兑换失败'
);
return
$this
->
Export
(
16
,
'审核用户兑换失败'
);
}
}
}
}
...
@@ -96,7 +96,7 @@ class UserExchangesController extends Controller
...
@@ -96,7 +96,7 @@ class UserExchangesController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
032
,
'批量更新用户兑换红包信息状态
失败'
);
return
$this
->
Export
(
17
,
'审核批量拒绝兑换
失败'
);
}
}
}
}
}
}
\ No newline at end of file
app/Http/Controllers/UserIntegralsController.php
View file @
5ee03948
...
@@ -69,7 +69,7 @@ class UserIntegralsController extends Controller
...
@@ -69,7 +69,7 @@ class UserIntegralsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
011
,
'修改用户红包可领取状态失败'
);
return
$this
->
Export
(
9
,
'修改用户红包可领取状态失败'
);
}
}
}
}
...
@@ -92,7 +92,7 @@ class UserIntegralsController extends Controller
...
@@ -92,7 +92,7 @@ class UserIntegralsController extends Controller
if
(
$res
)
{
if
(
$res
)
{
return
$this
->
Export
(
0
,
'ok'
);
return
$this
->
Export
(
0
,
'ok'
);
}
else
{
}
else
{
return
$this
->
Export
(
012
,
'批量修改用户是否可领取红包失败'
);
return
$this
->
Export
(
10
,
'批量修改用户是否可领取红包失败'
);
}
}
}
}
...
...
storage/laravels.json
View file @
5ee03948
{
"server"
:{
"listen_ip"
:
"0.0.0.0"
,
"listen_port"
:
"61009"
,
"socket_type"
:
1
,
"enable_coroutine_runtime"
:
false
,
"server"
:
"LaravelS"
,
"handle_static"
:
false
,
"laravel_base_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"inotify_reload"
:{
"enable"
:
false
,
"watch_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"file_types"
:[
".php"
],
"excluded_dirs"
:[],
"log"
:
true
},
"event_handlers"
:[],
"websocket"
:{
"enable"
:
false
},
"sockets"
:[],
"processes"
:[],
"timer"
:{
"enable"
:
false
,
"jobs"
:[],
"max_wait_time"
:
5
},
"events"
:[],
"swoole_tables"
:[],
"register_providers"
:[],
"cleaners"
:[],
"destroy_controllers"
:{
"enable"
:
false
,
"excluded_list"
:[]},
"swoole"
:{
"daemonize"
:
true
,
"dispatch_mode"
:
2
,
"reactor_num"
:
2
,
"worker_num"
:
2
,
"task_ipc_mode"
:
1
,
"task_max_request"
:
8000
,
"task_tmpdir"
:
"/dev/shm"
,
"max_request"
:
8000
,
"open_tcp_nodelay"
:
true
,
"pid_file"
:
"/home/vagrant/code/ic_server_welfare/storage/laravels.pid"
,
"log_file"
:
"/home/vagrant/code/ic_server_welfare/storage/logs/swoole-2019-08.log"
,
"log_level"
:
4
,
"document_root"
:
"/home/vagrant/code/ic_server_welfare/public"
,
"buffer_output_size"
:
2097152
,
"socket_buffer_size"
:
134217728
,
"package_max_length"
:
4194304
,
"reload_async"
:
true
,
"max_wait_time"
:
60
,
"enable_reuse_port"
:
true
,
"enable_coroutine"
:
false
,
"http_compression"
:
false
},
"enable_gzip"
:
false
,
"process_prefix"
:
"/home/vagrant/code/ic_server_welfare"
,
"ignore_check_pid"
:
false
},
"laravel"
:{
"root_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"static_path"
:
"/home/vagrant/code/ic_server_welfare/public"
,
"cleaners"
:[],
"register_providers"
:[],
"destroy_controllers"
:{
"enable"
:
false
,
"excluded_list"
:[]},
"is_lumen"
:
true
,
"_SERVER"
:{
"LESSOPEN"
:
"| /usr/bin/lesspipe %s"
,
"MAIL"
:
"/var/mail/vagrant"
,
"USER"
:
"vagrant"
,
"SSH_CLIENT"
:
"10.0.2.2 58910 22"
,
"LANGUAGE"
:
"en_US:"
,
"SHLVL"
:
"1"
,
"HOME"
:
"/home/vagrant"
,
"OLDPWD"
:
"/home/vagrant"
,
"SSH_TTY"
:
"/dev/pts/0"
,
"LOGNAME"
:
"vagrant"
,
"_"
:
"/usr/bin/php"
,
"XDG_SESSION_ID"
:
"245"
,
"TERM"
:
"cygwin"
,
"RBENV_SHELL"
:
"bash"
,
"PATH"
:
"/home/vagrant/.composer/vendor/bin:/usr/local/go/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/vagrant/.dotnet/tools"
,
"S_COLORS"
:
"auto"
,
"XDG_RUNTIME_DIR"
:
"/run/user/1000"
,
"LANG"
:
"en_US.UTF-8"
,
"LS_COLORS"
:
"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
,
"SHELL"
:
"/bin/bash"
,
"LESSCLOSE"
:
"/usr/bin/lesspipe %s %s"
,
"LC_ALL"
:
"en_US.UTF-8"
,
"PWD"
:
"/home/vagrant/code/ic_server_welfare"
,
"SSH_CONNECTION"
:
"10.0.2.2 58910 10.0.2.15 22"
,
"XDG_DATA_DIRS"
:
"/usr/local/share:/usr/share:/var/lib/snapd/desktop"
,
"PHP_SELF"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"SCRIPT_NAME"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"SCRIPT_FILENAME"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"PATH_TRANSLATED"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"DOCUMENT_ROOT"
:
""
,
"REQUEST_TIME_FLOAT"
:
1566389229.529798
,
"REQUEST_TIME"
:
1566389229
,
"argv"
:[
"/home/vagrant/code/ic_server_welfare/artisan"
,
"laravels"
,
"config"
,
"--daemonize"
],
"argc"
:
4
,
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
"0uUBt7t4fFIttyqkyLxDhLC7gn9361Yt"
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"ic_welfare"
,
"DB_USERNAME"
:
"ic_welfare"
,
"DB_PASSWORD"
:
"ic_welfare#zsyM"
,
"DB_PREFIX"
:
"ic_"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"SYSTEM_CODE"
:
"09"
,
"SYSTEM_NAME"
:
"IC业务助手福利中心服务"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"61009"
,
"SHELL_VERBOSITY"
:
0
},
"_ENV"
:{
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
"0uUBt7t4fFIttyqkyLxDhLC7gn9361Yt"
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"ic_welfare"
,
"DB_USERNAME"
:
"ic_welfare"
,
"DB_PASSWORD"
:
"ic_welfare#zsyM"
,
"DB_PREFIX"
:
"ic_"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"SYSTEM_CODE"
:
"09"
,
"SYSTEM_NAME"
:
"IC业务助手福利中心服务"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"61009"
,
"SHELL_VERBOSITY"
:
0
}}}
{
"server"
:{
"listen_ip"
:
"0.0.0.0"
,
"listen_port"
:
"61009"
,
"socket_type"
:
1
,
"enable_coroutine_runtime"
:
false
,
"server"
:
"LaravelS"
,
"handle_static"
:
false
,
"laravel_base_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"inotify_reload"
:{
"enable"
:
false
,
"watch_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"file_types"
:[
".php"
],
"excluded_dirs"
:[],
"log"
:
true
},
"event_handlers"
:[],
"websocket"
:{
"enable"
:
false
},
"sockets"
:[],
"processes"
:[],
"timer"
:{
"enable"
:
false
,
"jobs"
:[],
"max_wait_time"
:
5
},
"events"
:[],
"swoole_tables"
:[],
"register_providers"
:[],
"cleaners"
:[],
"destroy_controllers"
:{
"enable"
:
false
,
"excluded_list"
:[]},
"swoole"
:{
"daemonize"
:
true
,
"dispatch_mode"
:
2
,
"reactor_num"
:
2
,
"worker_num"
:
2
,
"task_ipc_mode"
:
1
,
"task_max_request"
:
8000
,
"task_tmpdir"
:
"/dev/shm"
,
"max_request"
:
8000
,
"open_tcp_nodelay"
:
true
,
"pid_file"
:
"/home/vagrant/code/ic_server_welfare/storage/laravels.pid"
,
"log_file"
:
"/home/vagrant/code/ic_server_welfare/storage/logs/swoole-2019-08.log"
,
"log_level"
:
4
,
"document_root"
:
"/home/vagrant/code/ic_server_welfare/public"
,
"buffer_output_size"
:
2097152
,
"socket_buffer_size"
:
134217728
,
"package_max_length"
:
4194304
,
"reload_async"
:
true
,
"max_wait_time"
:
60
,
"enable_reuse_port"
:
true
,
"enable_coroutine"
:
false
,
"http_compression"
:
false
},
"enable_gzip"
:
false
,
"process_prefix"
:
"/home/vagrant/code/ic_server_welfare"
,
"ignore_check_pid"
:
false
},
"laravel"
:{
"root_path"
:
"/home/vagrant/code/ic_server_welfare"
,
"static_path"
:
"/home/vagrant/code/ic_server_welfare/public"
,
"cleaners"
:[],
"register_providers"
:[],
"destroy_controllers"
:{
"enable"
:
false
,
"excluded_list"
:[]},
"is_lumen"
:
true
,
"_SERVER"
:{
"LESSOPEN"
:
"| /usr/bin/lesspipe %s"
,
"MAIL"
:
"/var/mail/vagrant"
,
"USER"
:
"vagrant"
,
"SSH_CLIENT"
:
"10.0.2.2 58910 22"
,
"LANGUAGE"
:
"en_US:"
,
"SHLVL"
:
"1"
,
"HOME"
:
"/home/vagrant"
,
"OLDPWD"
:
"/home/vagrant"
,
"SSH_TTY"
:
"/dev/pts/0"
,
"LOGNAME"
:
"vagrant"
,
"_"
:
"/usr/bin/php"
,
"XDG_SESSION_ID"
:
"245"
,
"TERM"
:
"cygwin"
,
"RBENV_SHELL"
:
"bash"
,
"PATH"
:
"/home/vagrant/.composer/vendor/bin:/usr/local/go/bin:/home/vagrant/.rbenv/plugins/ruby-build/bin:/home/vagrant/.rbenv/shims:/home/vagrant/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/vagrant/.dotnet/tools"
,
"S_COLORS"
:
"auto"
,
"XDG_RUNTIME_DIR"
:
"/run/user/1000"
,
"LANG"
:
"en_US.UTF-8"
,
"LS_COLORS"
:
"rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:"
,
"SHELL"
:
"/bin/bash"
,
"LESSCLOSE"
:
"/usr/bin/lesspipe %s %s"
,
"LC_ALL"
:
"en_US.UTF-8"
,
"PWD"
:
"/home/vagrant/code/ic_server_welfare"
,
"SSH_CONNECTION"
:
"10.0.2.2 58910 10.0.2.15 22"
,
"XDG_DATA_DIRS"
:
"/usr/local/share:/usr/share:/var/lib/snapd/desktop"
,
"PHP_SELF"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"SCRIPT_NAME"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"SCRIPT_FILENAME"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"PATH_TRANSLATED"
:
"/home/vagrant/code/ic_server_welfare/artisan"
,
"DOCUMENT_ROOT"
:
""
,
"REQUEST_TIME_FLOAT"
:
1566443640.315951
,
"REQUEST_TIME"
:
1566443640
,
"argv"
:[
"/home/vagrant/code/ic_server_welfare/artisan"
,
"laravels"
,
"config"
,
"--daemonize"
],
"argc"
:
4
,
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
"0uUBt7t4fFIttyqkyLxDhLC7gn9361Yt"
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"ic_welfare"
,
"DB_USERNAME"
:
"ic_welfare"
,
"DB_PASSWORD"
:
"ic_welfare#zsyM"
,
"DB_PREFIX"
:
"ic_"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"SYSTEM_CODE"
:
"09"
,
"SYSTEM_NAME"
:
"IC业务助手福利中心服务"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"61009"
,
"SHELL_VERBOSITY"
:
0
},
"_ENV"
:{
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
"0uUBt7t4fFIttyqkyLxDhLC7gn9361Yt"
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"ic_welfare"
,
"DB_USERNAME"
:
"ic_welfare"
,
"DB_PASSWORD"
:
"ic_welfare#zsyM"
,
"DB_PREFIX"
:
"ic_"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"SYSTEM_CODE"
:
"09"
,
"SYSTEM_NAME"
:
"IC业务助手福利中心服务"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"61009"
,
"SHELL_VERBOSITY"
:
0
}}}
\ No newline at end of file
\ No newline at end of file
storage/laravels.pid
View file @
5ee03948
18264
25778
\ No newline at end of file
\ No newline at end of file
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