diff --git a/Application/Base/Service/GameSourceService.class.php b/Application/Base/Service/GameSourceService.class.php index f26eb0b6f..17971be6b 100644 --- a/Application/Base/Service/GameSourceService.class.php +++ b/Application/Base/Service/GameSourceService.class.php @@ -229,6 +229,10 @@ class GameSourceService { $gameSourceUrl = $this->getGameSourceUrl($gameSource); if ($gameSource == null || !file_exists($gameSourceUrl)) { M('apply', 'tab_')->where(['id' => $apply['id']])->setField('enable_status', -1); + return [ + 'status' => false, + 'message' => '打包失败,原包或原包路径不存在!', + ]; } /* 检测是否存在投放申请,存在则更改投放申请信息,否则进行渠道打包 */