Commit 1e11b980 by Joneq

修复拣货成功

parent 915dcf88
...@@ -12,6 +12,7 @@ use App\Http\Model\Logic\PackCheckLogic; ...@@ -12,6 +12,7 @@ use App\Http\Model\Logic\PackCheckLogic;
use App\Http\Model\Logic\PalletLogic; use App\Http\Model\Logic\PalletLogic;
use App\Http\Model\Logic\PickTaskLogic; use App\Http\Model\Logic\PickTaskLogic;
use App\Http\Model\OutStoreDetailModel; use App\Http\Model\OutStoreDetailModel;
use App\Http\Model\PickTaskDetailModel;
use Illuminate\Http\Request; use Illuminate\Http\Request;
class AdminOutstoreController extends Controller class AdminOutstoreController extends Controller
...@@ -45,10 +46,10 @@ class AdminOutstoreController extends Controller ...@@ -45,10 +46,10 @@ class AdminOutstoreController extends Controller
try{ try{
//获取需要修改的货品 //获取需要修改的货品
if ($data['out_store_detail_id'] == 'all'){ if ($data['pick_task_detail_id'] == 'all'){
$data['out_store_detail_id_arr'] = OutStoreDetailModel::where('out_store_id',$data['out_store_id'])->pluck('out_store_detail_id'); $data['pick_task_detail_id_arr'] = PickTaskDetailModel::where('out_store_id',$data['out_store_id'])->pluck('pick_task_detail_id');
}else{ }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); $returnData = (new PickTaskLogic())->confirmPick($data);
}catch (\Exception $exception){ }catch (\Exception $exception){
...@@ -64,10 +65,10 @@ class AdminOutstoreController extends Controller ...@@ -64,10 +65,10 @@ class AdminOutstoreController extends Controller
$data = $request->all(); $data = $request->all();
try{ try{
//获取需要修改的货品 //获取需要修改的货品
if ($data['out_store_detail_id'] == 'all'){ if ($data['pick_task_detail_id'] == 'all'){
$data['out_store_detail_id_arr'] = OutStoreDetailModel::where('out_store_id',$data['out_store_id'])->pluck('out_store_detail_id'); $data['pick_task_detail_id_arr'] = PickTaskDetailModel::where('out_store_id',$data['out_store_id'])->pluck('pick_task_detail_id');
}else{ }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); $returnData = (new PickTaskLogic())->cancelPick($data);
}catch (\Exception $exception){ }catch (\Exception $exception){
......
...@@ -180,7 +180,7 @@ class OutStoreLogic ...@@ -180,7 +180,7 @@ class OutStoreLogic
//is_apply_customs报关任务默认隐藏 //is_apply_customs报关任务默认隐藏
$pickTaskData = PickTaskLogic::handleInsertData([ $pickTaskData = PickTaskLogic::handleInsertData([
'out_store_id'=>$outStoreId,'out_store_detail_id'=>$outStoreDetailId,'store_id'=>$insertData['store_id'], '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); ],$value);
foreach ($pickTaskData as $v){ foreach ($pickTaskData as $v){
......
...@@ -185,45 +185,57 @@ class PickTaskLogic ...@@ -185,45 +185,57 @@ class PickTaskLogic
public function confirmPick($data) public function confirmPick($data)
{ {
$pickTaskDetailArr = $data['pick_task_detail_id_arr']; $pickTaskDetailIdArr = $data['pick_task_detail_id_arr'];
//获取可以拣货的数据 //获取可以拣货的数据
if (empty($pickTaskDetail = PickTaskDetailModel::whereIn('pick_task_detail_id',$pickTaskDetailArr)->where('pick_status','!=',3)->get()->toArray())){ if (empty($pickTaskDetail = PickTaskDetailModel::whereIn('pick_task_detail_id',$pickTaskDetailIdArr)->where('pick_status','!=',3)->get())){
throw new \Exception('当前出库号没有可以拣货任务: '); throw new \Exception('当前出库号没有可以拣货任务: ');
} }
$pickTaskDetail = $pickTaskDetail->toArray();
self::checkIsPackCheck($pickTaskDetailArr,'该单据已经复核,不可再拣货'); self::checkIsPackCheck($pickTaskDetailIdArr,'该单据已经复核,不可再拣货');
DB::beginTransaction(); DB::beginTransaction();
try{ try{
foreach ($pickTaskDetail as $value){ foreach ($pickTaskDetail as $value){
//获取需要配合的拣货详情 //获取需要配合的拣货详情
if (empty($outStoreDetailInfo = OutStoreDetailModel::where('out_store_detail_id',$value['out_store_detail_id'])->first())){ if (empty($outStoreDetailInfo = OutStoreDetailModel::where('out_store_detail_id',$value['out_store_detail_id'])->first())){
throw new \Exception('当前出库详情没有数据: '.$value['out_store_detail_id']); 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(); $outStoreDetailInfo = $outStoreDetailInfo->toArray();
//增加冻结库存,扣减可用库存,实际库存不变 如果为散件,则生成打包复核任务 //增加冻结库存,扣减可用库存,实际库存不变 如果为散件,则生成打包复核任务
if (empty($stockInfo = StockModel::where('goods_name',$outStoreDetailInfo['goods_name'])->orderBy('stock','asc')->select('stock','stock_id')->get())){ if (empty($stockInfo = StockModel::where('warehousing_sn',$outStoreDetailInfo['warehousing_sn'])
throw new \Exception('当前库存详情没有数据: '.$outStoreDetailInfo['goods_id']); ->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(); $stockInfo = $stockInfo->toArray();
//下架箱子和卡板 //下架箱子和卡板
if (!empty($outStoreDetailInfo['box_id'])){ if (!empty($value['box_id'])){
BoxModel::getWhereObj([])->where('box_id',$outStoreDetailInfo['box_id'])->update(['status'=>3]); BoxModel::getWhereObj([])->where('box_id',$value['box_id'])->update(['status'=>3]);
} }
if (!empty($outStoreDetailInfo['pallet_id'])){ if (!empty($value['pallet_id'])){
PalletModel::getWhereObj([])->where('pallet_id',$outStoreDetailInfo['pallet_id'])->update(['status'=>3]); 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(); $picktaskInfo = PickTaskModel::getWhereObj([])->where('pick_task_id',$value['pick_task_id'])->first();
...@@ -231,33 +243,29 @@ class PickTaskLogic ...@@ -231,33 +243,29 @@ class PickTaskLogic
//如果没有就添加 //如果没有就添加
if (empty($packInfo = PackCheckModel::getWhereObj([])->where('pick_task_id',$value['pick_task_id'])->first())){ if (empty($packInfo = PackCheckModel::getWhereObj([])->where('pick_task_id',$value['pick_task_id'])->first())){
$packCheckId = PackCheckModel::insertGetId([ $packCheckId = PackCheckModel::insertGetId([
'pack_check_sn'=>PackCheckLogic::getPackCheckSn(),'pick_task_sn'=>PickTaskModel::where('out_store_id',$outStoreDetailInfo['out_store_id'])->value('pick_task_sn'), 'pack_check_sn'=>PackCheckLogic::getPackCheckSn(),'pick_task_sn'=>$picktaskInfo['pick_task_sn'],
'in_store_sn'=>OutStoreModel::where('out_store_id',$outStoreDetailInfo['out_store_id'])->value('warehousing_sn'), 'in_store_sn'=>$outStoreInfo['warehousing_sn'],
'pick_task_id'=>$picktaskInfo['pick_task_id'],'add_time'=>time(),'store_id'=>CommonLogic::getAdminInfo()['store_id'] 'pick_task_id'=>$picktaskInfo['pick_task_id'],'add_time'=>time(),'store_id'=>CommonLogic::getAdminInfo()['store_id']
]); ]);
}else{ }else{
$packCheckId = $packInfo->pack_check_id; $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 = array_sum(array_column($stockInfo,'stock'));
$totalNumber = $totalNumber - StockFrozenModel::whereIn('goods_id',$goodsIdArr)->where('status',1)->sum('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 < $outStoreDetailInfo['number']){ if ( $totalNumber < $value['number']){
throw new \Exception('该商品库存不足'); throw new \Exception('该商品库存不足');
} }
$needNumber = $outStoreDetailInfo['number']; $needNumber = $value['number'];
foreach ($stockInfo as $stockValue){ foreach ($stockInfo as $stockKey=>$stockValue){
//所需要库存完整了,就停止 //所需要库存完整了,就停止
if ($needNumber <= 0){ if ($needNumber <= 0){
...@@ -265,7 +273,7 @@ class PickTaskLogic ...@@ -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){ if ( ($stockValue['stock'] -= $currentStocFrozenkNum) <= 0){
continue; continue;
} }
...@@ -273,7 +281,7 @@ class PickTaskLogic ...@@ -273,7 +281,7 @@ class PickTaskLogic
//增加相应的冻结库存 //增加相应的冻结库存
if ($stockValue['stock'] < $needNumber){ if ($stockValue['stock'] < $needNumber){
$needNumber = $needNumber - $stockValue['stock']; $needNumber = bcsub($needNumber,$stockValue['stock']);
$stockFrozenNum = $stockValue['stock']; $stockFrozenNum = $stockValue['stock'];
}else{ }else{
$stockFrozenNum = $needNumber; $stockFrozenNum = $needNumber;
...@@ -287,15 +295,16 @@ class PickTaskLogic ...@@ -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)]); StockFrozenModel::where('stock_id',$stockValue['stock_id'])->where('pick_task_detail_id',$value['pick_task_detail_id'])->update(['number'=>bcadd($frozenInfo['number'],$stockFrozenNum)]);
}else{ }else{
StockFrozenModel::insertGetId([ StockFrozenModel::insertGetId([
'stock_id'=>$stockValue['stock_id'], 'store_id'=>$outStoreDetailInfo['store_id'],'location_id'=>$outStoreDetailInfo['location_id'], 'stock_id'=>$stockValue['stock_id'], 'store_id'=>$outStoreInfo['store_id'],'location_id'=>$value['location_id'],
'goods_id'=>$outStoreDetailInfo['goods_id'], 'goods_id'=>$outStoreDetailInfo['goods_id'],
'status'=>1,'add_time'=>time(),'number'=>$stockFrozenNum,'pick_task_detail_id'=>$value['pick_task_detail_id'] 'status'=>1,'add_time'=>time(),'number'=>$stockFrozenNum,'pick_task_detail_id'=>$value['pick_task_detail_id']
]); ]);
} }
} }
} }
//确认拣货 //确认拣货
PickTaskDetailModel::where('pick_task_detail_id',$outStoreDetailIdArr)->update(['pick_status'=>3,'pick_time'=>time(),'pick_user_name'=>CommonLogic::getAdminInfo()['admin_name']]); PickTaskDetailModel::where('pick_task_detail_id',$pickTaskDetailIdArr)->update(['pick_status'=>3,'pick_time'=>time(),'pick_user_name'=>CommonLogic::getAdminInfo()['admin_name']]);
DB::commit(); DB::commit();
}catch (\Exception $exception){ }catch (\Exception $exception){
......
{"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}}} {"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 \ No newline at end of file
70883 92355
\ No newline at end of file \ No newline at end of file
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