|
@@ -259,7 +259,7 @@ class BookService
|
|
|
public function getTaskDetail($data) {
|
|
|
$task_id = getProp($data, 'task_id');
|
|
|
|
|
|
- $result = DB::table('mp_audio_tasks')->where('id', $task_id)->select('id as task_id', 'task_name', 'generate_status', 'generate_json')->first();
|
|
|
+ $result = DB::table('mp_audio_tasks')->where('id', $task_id)->select('id as task_id', 'task_name', 'generate_status', 'generate_json', 'bid', 'version_id', 'cid')->first();
|
|
|
if (!$result) Utils::throwError('20003:任务不存在');
|
|
|
$result = (array)$result;
|
|
|
$result['generate_json'] = json_decode($result['generate_json'], true);
|