|
|
|
@ -45,7 +45,6 @@ class Video extends Controller |
|
|
|
$res_data2 = json_decode($result2,true); |
|
|
|
if ($res_data2['code'] != 0) throw new \Exception('请求失败'); |
|
|
|
$list2 = (array)$res_data2['data']; |
|
|
|
|
|
|
|
foreach ($list2 as $row2) { |
|
|
|
$urlArr[] = $row2; |
|
|
|
} |
|
|
|
@ -55,8 +54,6 @@ class Video extends Controller |
|
|
|
return $this->renderError($e->getMessage()); |
|
|
|
} |
|
|
|
|
|
|
|
dump($urlArr); dump($list);die; |
|
|
|
|
|
|
|
return $this->renderSuccess(compact('urlArr')); |
|
|
|
} |
|
|
|
} |