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']])); } }