master
ELF 5 years ago
parent a0acd65859
commit d1833dc406

@ -117,6 +117,7 @@ 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'));
@ -128,7 +129,7 @@ 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_');

Loading…
Cancel
Save