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
1e11b980
authored
May 17, 2020
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复拣货成功
parent
915dcf88
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
38 deletions
app/Http/Controllers/AdminOutstoreController.php
app/Http/Model/Logic/OutStoreLogic.php
app/Http/Model/Logic/PickTaskLogic.php
storage/laravels.json
storage/laravels.pid
app/Http/Controllers/AdminOutstoreController.php
View file @
1e11b980
...
...
@@ -12,6 +12,7 @@ use App\Http\Model\Logic\PackCheckLogic;
use
App\Http\Model\Logic\PalletLogic
;
use
App\Http\Model\Logic\PickTaskLogic
;
use
App\Http\Model\OutStoreDetailModel
;
use
App\Http\Model\PickTaskDetailModel
;
use
Illuminate\Http\Request
;
class
AdminOutstoreController
extends
Controller
...
...
@@ -45,10 +46,10 @@ class AdminOutstoreController extends Controller
try
{
//获取需要修改的货品
if
(
$data
[
'
out_store
_detail_id'
]
==
'all'
){
$data
[
'
out_store_detail_id_arr'
]
=
OutStoreDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
pluck
(
'out_store
_detail_id'
);
if
(
$data
[
'
pick_task
_detail_id'
]
==
'all'
){
$data
[
'
pick_task_detail_id_arr'
]
=
PickTaskDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
pluck
(
'pick_task
_detail_id'
);
}
else
{
$data
[
'
out_store_detail_id_arr'
]
=
[
$data
[
'out_store
_detail_id'
]];
$data
[
'
pick_task_detail_id_arr'
]
=
[
$data
[
'pick_task
_detail_id'
]];
}
$returnData
=
(
new
PickTaskLogic
())
->
confirmPick
(
$data
);
}
catch
(
\Exception
$exception
){
...
...
@@ -64,10 +65,10 @@ class AdminOutstoreController extends Controller
$data
=
$request
->
all
();
try
{
//获取需要修改的货品
if
(
$data
[
'
out_store
_detail_id'
]
==
'all'
){
$data
[
'
out_store_detail_id_arr'
]
=
OutStoreDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
pluck
(
'out_store
_detail_id'
);
if
(
$data
[
'
pick_task
_detail_id'
]
==
'all'
){
$data
[
'
pick_task_detail_id_arr'
]
=
PickTaskDetailModel
::
where
(
'out_store_id'
,
$data
[
'out_store_id'
])
->
pluck
(
'pick_task
_detail_id'
);
}
else
{
$data
[
'
out_store_detail_id_arr'
]
=
[
$data
[
'out_store
_detail_id'
]];
$data
[
'
pick_task_detail_id_arr'
]
=
[
$data
[
'pick_task
_detail_id'
]];
}
$returnData
=
(
new
PickTaskLogic
())
->
cancelPick
(
$data
);
}
catch
(
\Exception
$exception
){
...
...
app/Http/Model/Logic/OutStoreLogic.php
View file @
1e11b980
...
...
@@ -180,7 +180,7 @@ class OutStoreLogic
//is_apply_customs报关任务默认隐藏
$pickTaskData
=
PickTaskLogic
::
handleInsertData
([
'out_store_id'
=>
$outStoreId
,
'out_store_detail_id'
=>
$outStoreDetailId
,
'store_id'
=>
$insertData
[
'store_id'
],
'pick_task_id'
=>
$pickTaskId
,
'
goods_id'
=>
$value
[
'goods_id'
],
'
is_show'
=>
empty
(
$insertData
[
'is_apply_customs'
])
?
1
:
0
'pick_task_id'
=>
$pickTaskId
,
'is_show'
=>
empty
(
$insertData
[
'is_apply_customs'
])
?
1
:
0
],
$value
);
foreach
(
$pickTaskData
as
$v
){
...
...
app/Http/Model/Logic/PickTaskLogic.php
View file @
1e11b980
...
...
@@ -185,45 +185,57 @@ class PickTaskLogic
public
function
confirmPick
(
$data
)
{
$pickTaskDetailArr
=
$data
[
'pick_task_detail_id_arr'
];
$pickTaskDetail
Id
Arr
=
$data
[
'pick_task_detail_id_arr'
];
//获取可以拣货的数据
if
(
empty
(
$pickTaskDetail
=
PickTaskDetailModel
::
whereIn
(
'pick_task_detail_id'
,
$pickTaskDetail
Arr
)
->
where
(
'pick_status'
,
'!='
,
3
)
->
get
()
->
toArray
())){
if
(
empty
(
$pickTaskDetail
=
PickTaskDetailModel
::
whereIn
(
'pick_task_detail_id'
,
$pickTaskDetail
IdArr
)
->
where
(
'pick_status'
,
'!='
,
3
)
->
get
())){
throw
new
\Exception
(
'当前出库号没有可以拣货任务: '
);
}
$pickTaskDetail
=
$pickTaskDetail
->
toArray
();
self
::
checkIsPackCheck
(
$pickTaskDetailArr
,
'该单据已经复核,不可再拣货'
);
self
::
checkIsPackCheck
(
$pickTaskDetail
Id
Arr
,
'该单据已经复核,不可再拣货'
);
DB
::
beginTransaction
();
try
{
foreach
(
$pickTaskDetail
as
$value
){
//获取需要配合的拣货详情
if
(
empty
(
$outStoreDetailInfo
=
OutStoreDetailModel
::
where
(
'out_store_detail_id'
,
$value
[
'out_store_detail_id'
])
->
first
())){
throw
new
\Exception
(
'当前出库详情没有数据: '
.
$value
[
'out_store_detail_id'
]);
}
if
(
empty
(
$outStoreInfo
=
OutStoreModel
::
where
(
'out_store_id'
,
$value
[
'out_store_id'
])
->
first
())){
throw
new
\Exception
(
'当前出库单没有数据: '
.
$value
[
'out_store_id'
]);
}
$outStoreInfo
=
$outStoreInfo
->
toArray
();
$outStoreDetailInfo
=
$outStoreDetailInfo
->
toArray
();
//增加冻结库存,扣减可用库存,实际库存不变 如果为散件,则生成打包复核任务
if
(
empty
(
$stockInfo
=
StockModel
::
where
(
'goods_name'
,
$outStoreDetailInfo
[
'goods_name'
])
->
orderBy
(
'stock'
,
'asc'
)
->
select
(
'stock'
,
'stock_id'
)
->
get
())){
throw
new
\Exception
(
'当前库存详情没有数据: '
.
$outStoreDetailInfo
[
'goods_id'
]);
if
(
empty
(
$stockInfo
=
StockModel
::
where
(
'warehousing_sn'
,
$outStoreDetailInfo
[
'warehousing_sn'
])
->
where
(
'location_id'
,
$value
[
'location_id'
])
->
where
(
'pallet_id'
,
$value
[
'pallet_id'
])
->
where
(
'box_id'
,
$value
[
'box_id'
])
->
where
(
'goods_id'
,
$outStoreDetailInfo
[
'goods_id'
])
->
get
())){
throw
new
\Exception
(
'当前库存详情没有数据: '
.
$value
[
'pick_task_detail_id'
]);
}
$stockInfo
=
$stockInfo
->
toArray
();
//下架箱子和卡板
if
(
!
empty
(
$
outStoreDetailInfo
[
'box_id'
])){
BoxModel
::
getWhereObj
([])
->
where
(
'box_id'
,
$
outStoreDetailInfo
[
'box_id'
])
->
update
([
'status'
=>
3
]);
if
(
!
empty
(
$
value
[
'box_id'
])){
BoxModel
::
getWhereObj
([])
->
where
(
'box_id'
,
$
value
[
'box_id'
])
->
update
([
'status'
=>
3
]);
}
if
(
!
empty
(
$
outStoreDetailInfo
[
'pallet_id'
])){
PalletModel
::
getWhereObj
([])
->
where
(
'pallet_id'
,
$
outStoreDetailInfo
[
'pallet_id'
])
->
update
([
'status'
=>
3
]);
if
(
!
empty
(
$
value
[
'pallet_id'
])){
PalletModel
::
getWhereObj
([])
->
where
(
'pallet_id'
,
$
value
[
'pallet_id'
])
->
update
([
'status'
=>
3
]);
}
//如果该任务没有打包复核任务,而且还是散件,就生成一个打包复核任务
if
(
empty
(
$outStoreDetailInfo
[
'box_id'
])
&&
empty
(
$outStoreDetailInfo
[
'pallet_id'
])
){
if
(
$outStoreInfo
[
'remark'
]
==
'散件'
){
$picktaskInfo
=
PickTaskModel
::
getWhereObj
([])
->
where
(
'pick_task_id'
,
$value
[
'pick_task_id'
])
->
first
();
...
...
@@ -231,33 +243,29 @@ class PickTaskLogic
//如果没有就添加
if
(
empty
(
$packInfo
=
PackCheckModel
::
getWhereObj
([])
->
where
(
'pick_task_id'
,
$value
[
'pick_task_id'
])
->
first
())){
$packCheckId
=
PackCheckModel
::
insertGetId
([
'pack_check_sn'
=>
PackCheckLogic
::
getPackCheckSn
(),
'pick_task_sn'
=>
PickTaskModel
::
where
(
'out_store_id'
,
$outStoreDetailInfo
[
'out_store_id'
])
->
value
(
'pick_task_sn'
)
,
'in_store_sn'
=>
OutStoreModel
::
where
(
'out_store_id'
,
$outStoreDetailInfo
[
'out_store_id'
])
->
value
(
'warehousing_sn'
)
,
'pack_check_sn'
=>
PackCheckLogic
::
getPackCheckSn
(),
'pick_task_sn'
=>
$picktaskInfo
[
'pick_task_sn'
]
,
'in_store_sn'
=>
$outStoreInfo
[
'warehousing_sn'
]
,
'pick_task_id'
=>
$picktaskInfo
[
'pick_task_id'
],
'add_time'
=>
time
(),
'store_id'
=>
CommonLogic
::
getAdminInfo
()[
'store_id'
]
]);
}
else
{
$packCheckId
=
$packInfo
->
pack_check_id
;
}
PickTaskDetailModel
::
getWhereObj
([])
->
where
(
'pick_task_detail_id'
,
$value
[
'pick_task_detail_id'
])
->
update
([
'pack_check_id'
=>
$packCheckId
,
'pick_remark'
=>
'散件'
]);
PickTaskDetailModel
::
getWhereObj
([])
->
where
(
'pick_task_detail_id'
,
$value
[
'pick_task_detail_id'
])
->
update
([
'pack_check_id'
=>
$packCheckId
]);
}
}
//查询出所有商品ID
$goodsIdArr
=
GoodsModel
::
where
(
'goods_name'
,
$outStoreDetailInfo
[
'goods_name'
])
->
where
(
'status'
,
1
)
->
pluck
(
'goods_id'
)
->
toArray
();
if
(
empty
(
$goodsIdArr
)){
throw
new
\Exception
(
'该型号暂无商品'
);
}
//查看数量是否足够 ,所有库存减去冻结库存
$totalNumber
=
array_sum
(
array_column
(
$stockInfo
,
'stock'
));
$totalNumber
=
$totalNumber
-
StockFrozenModel
::
where
In
(
'goods_id'
,
$goodsIdArr
)
->
where
(
'status'
,
1
)
->
sum
(
'number'
);
if
(
$totalNumber
<
$
outStoreDetailInfo
[
'number'
]){
$totalNumber
=
$totalNumber
-
StockFrozenModel
::
where
(
'goods_id'
,
$outStoreDetailInfo
[
'goods_id'
])
->
where
(
'pick_task_detail_id'
,
$value
[
'pick_task_detail_id'
]
)
->
where
(
'status'
,
1
)
->
sum
(
'number'
);
if
(
$totalNumber
<
$
value
[
'number'
]){
throw
new
\Exception
(
'该商品库存不足'
);
}
$needNumber
=
$
outStoreDetailInfo
[
'number'
];
$needNumber
=
$
value
[
'number'
];
foreach
(
$stockInfo
as
$stockValue
){
foreach
(
$stockInfo
as
$stock
Key
=>
$stock
Value
){
//所需要库存完整了,就停止
if
(
$needNumber
<=
0
){
...
...
@@ -265,7 +273,7 @@ class PickTaskLogic
}
//查看当前可用的库存是否充足,没有了直接跳过
if
(
$currentStocFrozenkNum
=
StockFrozenModel
::
whereIn
(
'stock_id'
,[
$stockValue
[
'stock_id'
]])
->
where
(
'status'
,
1
)
->
value
(
'number'
)){
if
(
$currentStocFrozenkNum
=
StockFrozenModel
::
whereIn
(
'stock_id'
,[
$stockValue
[
'stock_id'
]])
->
where
(
'
pick_task_detail_id'
,
$value
[
'pick_task_detail_id'
])
->
where
(
'
status'
,
1
)
->
value
(
'number'
)){
if
(
(
$stockValue
[
'stock'
]
-=
$currentStocFrozenkNum
)
<=
0
){
continue
;
}
...
...
@@ -273,7 +281,7 @@ class PickTaskLogic
//增加相应的冻结库存
if
(
$stockValue
[
'stock'
]
<
$needNumber
){
$needNumber
=
$needNumber
-
$stockValue
[
'stock'
]
;
$needNumber
=
bcsub
(
$needNumber
,
$stockValue
[
'stock'
])
;
$stockFrozenNum
=
$stockValue
[
'stock'
];
}
else
{
$stockFrozenNum
=
$needNumber
;
...
...
@@ -287,15 +295,16 @@ class PickTaskLogic
StockFrozenModel
::
where
(
'stock_id'
,
$stockValue
[
'stock_id'
])
->
where
(
'pick_task_detail_id'
,
$value
[
'pick_task_detail_id'
])
->
update
([
'number'
=>
bcadd
(
$frozenInfo
[
'number'
],
$stockFrozenNum
)]);
}
else
{
StockFrozenModel
::
insertGetId
([
'stock_id'
=>
$stockValue
[
'stock_id'
],
'store_id'
=>
$outStore
DetailInfo
[
'store_id'
],
'location_id'
=>
$outStoreDetailInfo
[
'location_id'
],
'stock_id'
=>
$stockValue
[
'stock_id'
],
'store_id'
=>
$outStore
Info
[
'store_id'
],
'location_id'
=>
$value
[
'location_id'
],
'goods_id'
=>
$outStoreDetailInfo
[
'goods_id'
],
'status'
=>
1
,
'add_time'
=>
time
(),
'number'
=>
$stockFrozenNum
,
'pick_task_detail_id'
=>
$value
[
'pick_task_detail_id'
]
]);
}
}
}
//确认拣货
PickTaskDetailModel
::
where
(
'pick_task_detail_id'
,
$
outStore
DetailIdArr
)
->
update
([
'pick_status'
=>
3
,
'pick_time'
=>
time
(),
'pick_user_name'
=>
CommonLogic
::
getAdminInfo
()[
'admin_name'
]]);
PickTaskDetailModel
::
where
(
'pick_task_detail_id'
,
$
pickTask
DetailIdArr
)
->
update
([
'pick_status'
=>
3
,
'pick_time'
=>
time
(),
'pick_user_name'
=>
CommonLogic
::
getAdminInfo
()[
'admin_name'
]]);
DB
::
commit
();
}
catch
(
\Exception
$exception
){
...
...
storage/laravels.json
View file @
1e11b980
{
"server"
:{
"listen_ip"
:
"0.0.0.0"
,
"listen_port"
:
"40003"
,
"socket_type"
:
1
,
"enable_coroutine_runtime"
:
false
,
"server"
:
"LaravelS"
,
"handle_static"
:
false
,
"laravel_base_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"inotify_reload"
:{
"enable"
:
false
,
"watch_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"file_types"
:[
".php"
],
"excluded_dirs"
:[],
"log"
:
true
},
"event_handlers"
:[],
"websocket"
:{
"enable"
:
false
},
"sockets"
:[],
"processes"
:[],
"timer"
:{
"enable"
:
false
,
"jobs"
:[],
"pid_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/laravels-timer.pid"
,
"max_wait_time"
:
5
},
"events"
:[],
"swoole_tables"
:[],
"register_providers"
:[],
"cleaners"
:[],
"swoole"
:{
"daemonize"
:
false
,
"dispatch_mode"
:
2
,
"reactor_num"
:
4
,
"worker_num"
:
"3"
,
"task_worker_num"
:
3
,
"task_ipc_mode"
:
1
,
"task_max_request"
:
8000
,
"task_tmpdir"
:
"/tmp"
,
"max_request"
:
8000
,
"open_tcp_nodelay"
:
true
,
"pid_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/laravels.pid"
,
"log_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/logs/swoole-2020-05.log"
,
"log_level"
:
4
,
"document_root"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/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"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"ignore_check_pid"
:
false
},
"laravel"
:{
"root_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"static_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/public"
,
"cleaners"
:[],
"register_providers"
:[],
"is_lumen"
:
true
,
"_SERVER"
:{
"SHELL"
:
"/bin/bash"
,
"TERM"
:
"xterm-256color"
,
"HOMEBREW_BOTTLE_DOMAIN"
:
"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
,
"TMPDIR"
:
"/var/folders/vd/95yw3kdx65n1qw9ggmkkkp7c0000gn/T/"
,
"Apple_PubSub_Socket_Render"
:
"/private/tmp/com.apple.launchd.Kf23TI0KAV/Render"
,
"USER"
:
"gongyang"
,
"SSH_AUTH_SOCK"
:
"/private/tmp/com.apple.launchd.DbjEFRUETz/Listeners"
,
"__CF_USER_TEXT_ENCODING"
:
"0x1F5:0x19:0x34"
,
"PATH"
:
"/usr/local/opt/mysql@5.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin"
,
"_"
:
"/usr/bin/php"
,
"PWD"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"XPC_FLAGS"
:
"0x0"
,
"XPC_SERVICE_NAME"
:
"0"
,
"HOME"
:
"/Users/gongyang"
,
"SHLVL"
:
"2"
,
"LOGNAME"
:
"gongyang"
,
"LC_CTYPE"
:
"zh_CN.UTF-8"
,
"PHP_SELF"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"SCRIPT_NAME"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"SCRIPT_FILENAME"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"PATH_TRANSLATED"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"DOCUMENT_ROOT"
:
""
,
"REQUEST_TIME_FLOAT"
:
1589695307.304437
,
"REQUEST_TIME"
:
1589695307
,
"argv"
:[
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"laravels"
,
"config"
],
"argc"
:
3
,
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
""
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_TIMEZONE"
:
"+08:00"
,
"SYSTEM_CODE"
:
"01"
,
"SYSTEM_NAME"
:
"服务初始服务(开发环境)"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"40003"
,
"worker_num"
:
"3"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_USERNAME"
:
"liexin_scm_wms"
,
"DB_PASSWORD"
:
"liexin_scm_wms#zsyM"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"liexin_scm_wms"
,
"DB_PREFIX"
:
"lie_"
,
"REDIS_HOST"
:
"192.168.1.235"
,
"REDIS_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_PORT"
:
"6379"
,
"REDIS_READ_HOST"
:
"192.168.1.237"
,
"REDIS_READ_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_READ_PORT"
:
"6379"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"RABBIT_IP"
:
"192.168.1.237"
,
"RABBIT_PORT"
:
"5672"
,
"RABBIT_USER"
:
"huntadmin"
,
"RABBIT_PASS"
:
"jy2y2900"
,
"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"
,
"SHELL_VERBOSITY"
:
0
},
"_ENV"
:{
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
""
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_TIMEZONE"
:
"+08:00"
,
"SYSTEM_CODE"
:
"01"
,
"SYSTEM_NAME"
:
"服务初始服务(开发环境)"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"40003"
,
"worker_num"
:
"3"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_USERNAME"
:
"liexin_scm_wms"
,
"DB_PASSWORD"
:
"liexin_scm_wms#zsyM"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"liexin_scm_wms"
,
"DB_PREFIX"
:
"lie_"
,
"REDIS_HOST"
:
"192.168.1.235"
,
"REDIS_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_PORT"
:
"6379"
,
"REDIS_READ_HOST"
:
"192.168.1.237"
,
"REDIS_READ_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_READ_PORT"
:
"6379"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"RABBIT_IP"
:
"192.168.1.237"
,
"RABBIT_PORT"
:
"5672"
,
"RABBIT_USER"
:
"huntadmin"
,
"RABBIT_PASS"
:
"jy2y2900"
,
"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"
,
"SHELL_VERBOSITY"
:
0
}}}
\ No newline at end of file
{
"server"
:{
"listen_ip"
:
"0.0.0.0"
,
"listen_port"
:
"40003"
,
"socket_type"
:
1
,
"enable_coroutine_runtime"
:
false
,
"server"
:
"LaravelS"
,
"handle_static"
:
false
,
"laravel_base_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"inotify_reload"
:{
"enable"
:
false
,
"watch_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"file_types"
:[
".php"
],
"excluded_dirs"
:[],
"log"
:
true
},
"event_handlers"
:[],
"websocket"
:{
"enable"
:
false
},
"sockets"
:[],
"processes"
:[],
"timer"
:{
"enable"
:
false
,
"jobs"
:[],
"pid_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/laravels-timer.pid"
,
"max_wait_time"
:
5
},
"events"
:[],
"swoole_tables"
:[],
"register_providers"
:[],
"cleaners"
:[],
"swoole"
:{
"daemonize"
:
false
,
"dispatch_mode"
:
2
,
"reactor_num"
:
4
,
"worker_num"
:
"3"
,
"task_worker_num"
:
3
,
"task_ipc_mode"
:
1
,
"task_max_request"
:
8000
,
"task_tmpdir"
:
"/tmp"
,
"max_request"
:
8000
,
"open_tcp_nodelay"
:
true
,
"pid_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/laravels.pid"
,
"log_file"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/storage/logs/swoole-2020-05.log"
,
"log_level"
:
4
,
"document_root"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/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"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"ignore_check_pid"
:
false
},
"laravel"
:{
"root_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"static_path"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/public"
,
"cleaners"
:[],
"register_providers"
:[],
"is_lumen"
:
true
,
"_SERVER"
:{
"SHELL"
:
"/bin/bash"
,
"TERM"
:
"xterm-256color"
,
"HOMEBREW_BOTTLE_DOMAIN"
:
"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
,
"TMPDIR"
:
"/var/folders/vd/95yw3kdx65n1qw9ggmkkkp7c0000gn/T/"
,
"Apple_PubSub_Socket_Render"
:
"/private/tmp/com.apple.launchd.Kf23TI0KAV/Render"
,
"USER"
:
"gongyang"
,
"SSH_AUTH_SOCK"
:
"/private/tmp/com.apple.launchd.DbjEFRUETz/Listeners"
,
"__CF_USER_TEXT_ENCODING"
:
"0x1F5:0x19:0x34"
,
"PATH"
:
"/usr/local/opt/mysql@5.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin"
,
"_"
:
"/usr/bin/php"
,
"PWD"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service"
,
"XPC_FLAGS"
:
"0x0"
,
"XPC_SERVICE_NAME"
:
"0"
,
"HOME"
:
"/Users/gongyang"
,
"SHLVL"
:
"2"
,
"LOGNAME"
:
"gongyang"
,
"LC_CTYPE"
:
"zh_CN.UTF-8"
,
"PHP_SELF"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"SCRIPT_NAME"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"SCRIPT_FILENAME"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"PATH_TRANSLATED"
:
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"DOCUMENT_ROOT"
:
""
,
"REQUEST_TIME_FLOAT"
:
1589701965.467229
,
"REQUEST_TIME"
:
1589701965
,
"argv"
:[
"/usr/local/var/www/ichunt/scm_wms_outstore_service/artisan"
,
"laravels"
,
"config"
],
"argc"
:
3
,
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
""
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_TIMEZONE"
:
"+08:00"
,
"SYSTEM_CODE"
:
"01"
,
"SYSTEM_NAME"
:
"服务初始服务(开发环境)"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"40003"
,
"worker_num"
:
"3"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_USERNAME"
:
"liexin_scm_wms"
,
"DB_PASSWORD"
:
"liexin_scm_wms#zsyM"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"liexin_scm_wms"
,
"DB_PREFIX"
:
"lie_"
,
"REDIS_HOST"
:
"192.168.1.235"
,
"REDIS_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_PORT"
:
"6379"
,
"REDIS_READ_HOST"
:
"192.168.1.237"
,
"REDIS_READ_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_READ_PORT"
:
"6379"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"RABBIT_IP"
:
"192.168.1.237"
,
"RABBIT_PORT"
:
"5672"
,
"RABBIT_USER"
:
"huntadmin"
,
"RABBIT_PASS"
:
"jy2y2900"
,
"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"
,
"SHELL_VERBOSITY"
:
0
},
"_ENV"
:{
"APP_ENV"
:
"local"
,
"APP_DEBUG"
:
"true"
,
"APP_KEY"
:
""
,
"APP_TIMEZONE"
:
"PRC"
,
"DB_TIMEZONE"
:
"+08:00"
,
"SYSTEM_CODE"
:
"01"
,
"SYSTEM_NAME"
:
"服务初始服务(开发环境)"
,
"LARAVELS_LISTEN_IP"
:
"0.0.0.0"
,
"LARAVELS_LISTEN_PORT"
:
"40003"
,
"worker_num"
:
"3"
,
"DB_CONNECTION"
:
"mysql"
,
"DB_HOST"
:
"192.168.2.232"
,
"DB_USERNAME"
:
"liexin_scm_wms"
,
"DB_PASSWORD"
:
"liexin_scm_wms#zsyM"
,
"DB_PORT"
:
"3306"
,
"DB_DATABASE"
:
"liexin_scm_wms"
,
"DB_PREFIX"
:
"lie_"
,
"REDIS_HOST"
:
"192.168.1.235"
,
"REDIS_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_PORT"
:
"6379"
,
"REDIS_READ_HOST"
:
"192.168.1.237"
,
"REDIS_READ_PASSWORD"
:
"icDb29mLy2s"
,
"REDIS_READ_PORT"
:
"6379"
,
"CACHE_DRIVER"
:
"file"
,
"QUEUE_DRIVER"
:
"sync"
,
"RABBIT_IP"
:
"192.168.1.237"
,
"RABBIT_PORT"
:
"5672"
,
"RABBIT_USER"
:
"huntadmin"
,
"RABBIT_PASS"
:
"jy2y2900"
,
"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"
,
"SHELL_VERBOSITY"
:
0
}}}
\ No newline at end of file
storage/laravels.pid
View file @
1e11b980
70883
\ No newline at end of file
92355
\ 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