From 0917ad7f34001a1d3da1d098873acac33fa6c97b Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Mon, 27 Feb 2023 21:20:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Event/SourceEvent.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Event/SourceEvent.class.php b/Application/Admin/Event/SourceEvent.class.php index 64c9862bb..b3d01a14b 100644 --- a/Application/Admin/Event/SourceEvent.class.php +++ b/Application/Admin/Event/SourceEvent.class.php @@ -53,7 +53,7 @@ class SourceEvent extends Controller $gameSourceService = new GameSourceService(); $result = $gameSourceService->sourcePack($data, $game); if (!$result['status']) { - $this->error('添加失败' , U('GameSource/lists', ['type' => $data['type']])); + $this->error('添加失败, 打包失败,' . $result['message'] , U('GameSource/lists', ['type' => $data['type']])); } $data['plist_url'] = $result['data']['plistUrl']; $data['org_plist_url'] = $result['data']['orgPlistUrl']; @@ -64,7 +64,7 @@ class SourceEvent extends Controller $this->update_game_size($data); $this->success('添加成功', U('GameSource/lists', ['type' => $data['type']])); } else { - $this->error('添加失败', U('GameSource/lists', ['type' => $data['type']])); + $this->error('添加失败,数据处理异常', U('GameSource/lists', ['type' => $data['type']])); } }