|
|
|
@ -117,7 +117,6 @@ class SourceEvent extends Controller
|
|
|
|
|
$game = M('game', 'tab_')->where(['id' => $data['game_id']])->find();
|
|
|
|
|
$gameSourceService = new GameSourceService();
|
|
|
|
|
$result = $gameSourceService->sourcePack($data, $game);
|
|
|
|
|
var_dump($result);
|
|
|
|
|
if (!$result['status']) {
|
|
|
|
|
if ($from == "dev") {
|
|
|
|
|
$this->error('修改失败', U('Developers/source'));
|
|
|
|
@ -129,7 +128,6 @@ class SourceEvent extends Controller
|
|
|
|
|
$data['org_plist_url'] = $result['data']['orgPlistUrl'];
|
|
|
|
|
$data['file_url'] = $result['data']['fileUrl'];
|
|
|
|
|
$data['original_url'] = $result['data']['originalUrl'];
|
|
|
|
|
var_dump($data);
|
|
|
|
|
if ($model->save($data)) {
|
|
|
|
|
//渠道包加入打包队列
|
|
|
|
|
$appmodel = M('Apply', 'tab_');
|
|
|
|
|