debug
This commit is contained in:
@@ -67,7 +67,11 @@ class VideoInfoPage extends BasePage
|
||||
if (empty($this->arrVideo)) {
|
||||
|
||||
$arrVideo = json_decode($this->getContent(), true);
|
||||
// $arrVideo = $arrVideo['list'][0]; // 这个日志会报错
|
||||
$arrVideo = $arrVideo['list'][0] ?? [];
|
||||
|
||||
$arrVideo = $arrVideo['list'][0];
|
||||
|
||||
// print_r($arrVideo);
|
||||
|
||||
$strPlayUrl = $arrVideo['vod_play_url'];
|
||||
|
||||
Reference in New Issue
Block a user