master
ELF 5 years ago
parent d1833dc406
commit b08c7748c9

@ -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_');

@ -358,6 +358,7 @@ class GameSourceService {
]
]);
$result = (string)$response->getBody();
var_dump($result);
$result = json_decode($result, true);
if (!$result) {
return [

Loading…
Cancel
Save