diff --git a/Application/Admin/Controller/AutoPackController.class.php b/Application/Admin/Controller/AutoPackController.class.php index 6d3ad0dbe..22a1e1332 100644 --- a/Application/Admin/Controller/AutoPackController.class.php +++ b/Application/Admin/Controller/AutoPackController.class.php @@ -58,7 +58,7 @@ class AutoPackController extends Think $this->checkPackageStatus(); // $this->app_package();//app渠道自动打包 - $result = $this->channel(); + $result = $this->channel($currentProgress); // $this->launch_package(false); // $this->leak_detection(); Redis::decr('console_packing'); @@ -306,7 +306,7 @@ class AutoPackController extends Think /** * 渠道游戏打包 */ - private function channel() { + private function channel($currentProgress = 0) { $map = []; $map['status'] = 1; $map['enable_status'] = ['in', '0,2']; @@ -347,7 +347,7 @@ class AutoPackController extends Think $game = $games[$apply['game_id']]; $launchCount = $launchCountList[$apply['id']] ?? 0; $result = $gameSourceService->channelPack($gameSource, $game, $apply, $launchCount); - $message = '游戏['. $apply['game_id'] . '],渠道['. $apply['promote_id'] . ']打包,'; + $message = '进程[' . $currentProgress . '],游戏['. $apply['game_id'] . '],渠道['. $apply['promote_id'] . ']打包,'; $packResult['total'] += 1; if ($result['status']) { $message = 'SUCCESS ----- ' . $message . $result['message'];