修改bug

master
ELF 5 years ago
parent d5d6c255b0
commit 769193883d

@ -53,7 +53,7 @@ class AutoPackController extends Think
if (Redis::get('console_packing') == 1) { if (Redis::get('console_packing') == 1) {
Printer::export('正在打包', true); Printer::export('正在打包', true);
} }
Redis::set('console_packing', 1); Redis::set('console_packing', 1);
$this->checkPackageStatus(); $this->checkPackageStatus();
// $this->app_package();//app渠道自动打包 // $this->app_package();//app渠道自动打包
@ -313,6 +313,7 @@ class AutoPackController extends Think
if (count($applys) == 0) { if (count($applys) == 0) {
Printer::export('无等待队列', true); Printer::export('无等待队列', true);
Redis::delete('console_packing');
} }
$applyIds = array_column($applys, 'id'); $applyIds = array_column($applys, 'id');

Loading…
Cancel
Save