This commit is contained in:
make
2026-01-11 23:20:30 +08:00
parent 222454acef
commit 7823de7ddd
16 changed files with 565 additions and 200 deletions

View File

@@ -653,11 +653,22 @@ class VideoService
// 更新值
$arrAllVideoClass = StaticConfig::getVideoCategoryFilter();
$strNCategory = $arrAllVideoClass[$strVCategoryEn];
//$strNCategory = $arrAllVideoClass[$strVCategoryEn];
$strNCategory = ($strVCategoryEn === 'all' || !isset($arrAllVideoClass[$strVCategoryEn]))
? ''
: $arrAllVideoClass[$strVCategoryEn];
ConverterMovel::setVal([
'intPage' => $intPage,
'strVideoParentCategoryName' => empty($strVParentCategory) || $strVParentCategory == 'all' ? '' : StaticConfig::$arrVideoClass[$strVParentCategory],
'strVideoParentCategoryName' =>
empty($strVParentCategory)
|| $strVParentCategory === 'all'
|| !isset(StaticConfig::$arrVideoClass[$strVParentCategory])
? ''
: StaticConfig::$arrVideoClass[$strVParentCategory],
//'strVideoParentCategoryName' => empty($strVParentCategory) || $strVParentCategory == 'all' ? '' : StaticConfig::$arrVideoClass[$strVParentCategory],
'strVideoCategoryName' => empty($strNCategory) ? '' : str_replace("视频", "", $strNCategory),
'strVideoStatus' => empty($strVStatus) ? '' : StaticConfig::$arrVideoStatus[$strVStatus],
'strVideoOrder' => empty($strSortType) ? '' : StaticConfig::$arrVideoSortType[$strSortType],
@@ -808,9 +819,9 @@ class VideoService
// 线路映射(可持续扩展)
$arrMap = [
'maotai' => '茅台',
'douban' => '豆瓣',
'youzhi' => '优质',
'maotai' => '茅台资源',
'douban' => '豆瓣资源',
'youzhi' => '优质资源',
'default' => '默认',
'vip' => 'VIP线路',