This commit is contained in:
make
2025-05-17 19:32:02 +08:00
parent c524f9b6b6
commit 024cc82b50
4 changed files with 22 additions and 4 deletions

View File

@@ -693,6 +693,9 @@ class VideoService
// 取前5个元素
$strTopDirectors = (is_array($arrVideo['v_director'] ?? null)) ? array_slice($arrVideo['v_director'], 0, 5) : '';
// 取前5个元素
$strTopLang = (is_array($arrVideo['v_lang'] ?? null)) ? array_slice($arrVideo['v_lang'], 0, 5) : '';
// 点击数
$arrVideoClicks = $this->VideoClicksModel->getStats($intVId);
@@ -704,6 +707,7 @@ class VideoService
'strVideoCategoryName' => $arrVideo['v_category'],
'strVideoStatus' => $arrVideo['v_isend'],
'strVideoDescription' => $arrVideo['v_description'],
'strLangName' => $strTopLang,
'intPlayIndex' => 1,
'strVideoDirector' => implode(',', $strTopDirectors),
'strVideoActor' => implode(',', $strTopActor),