From 4f8f18a6802fc53b40f5354add8fa5a9177676e9 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 10 Jun 2020 17:23:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/AutoPackController.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'];