debug
This commit is contained in:
@@ -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线路',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user