debug
This commit is contained in:
@@ -137,7 +137,9 @@ class SiteContext
|
||||
View::assign("strUserUrlTemp", $strUserUrlTemp);
|
||||
}else{
|
||||
$strPcUrlTemp = $this->DomainModel->getFomartSubject('VIDEO_PC_URL_PATH', '', false);
|
||||
$strRankUrlTemp = $this->DomainModel->getFomartSubject('VIDEO_RANK_INDEX_URL', '', false);
|
||||
View::assign("strPcPath", $strPcUrlTemp);
|
||||
View::assign("strRankUrlTemp", $strRankUrlTemp);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -106,26 +106,23 @@ class VideoService
|
||||
return (string)$strUrl;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 排行榜url
|
||||
* 排行榜 列表 url
|
||||
*
|
||||
* @param string $strGender
|
||||
* @param string $strCategory
|
||||
* @param string $strStatus
|
||||
* @param string $strOrder
|
||||
* @param string $strClass
|
||||
* @param string $strSortType
|
||||
* @param integer $intPage
|
||||
* @return string
|
||||
*/
|
||||
public function getVideoRankUrl(string $strGender, string $strCategory, string $strStatus, string $strOrder, int $intPage): string
|
||||
public function getVideoRankUrl(string $strCategory,string $strClass, string $strSortType, int $intPage): string
|
||||
{
|
||||
|
||||
$strKey = 'RANK_LIST_URL';
|
||||
$strKey = 'VIDEO_RANK_LIST_URL';
|
||||
$strUrl = $this->SiteContext->DomainModel->getFomartUrl($strKey, [
|
||||
'strGender' => !empty($strGender) ? $strGender : '',
|
||||
'strCategory' => !empty($strCategory) ? $strCategory : 'all',
|
||||
'strStatus' => !empty($strStatus) ? $strStatus : 'all',
|
||||
'strOrder' => !empty($strOrder) ? $strOrder : 'all',
|
||||
'strClass' => !empty($strClass) ? $strClass : 'all',
|
||||
'strSortType' => !empty($strSortType) ? $strSortType : 'all',
|
||||
'intPage' => $intPage ?? 1,
|
||||
]);
|
||||
|
||||
@@ -465,7 +462,7 @@ class VideoService
|
||||
|
||||
ConverterMovel::setVal([
|
||||
'intPage' => $intPage,
|
||||
'strVideoClassName' => empty($strVClass) ? '' : StaticConfig::$arrVideoClass[$strVClass],
|
||||
'strVideoClassName' => empty($strVClass) || $strVClass == 'all' ? '' : StaticConfig::$arrVideoClass[$strVClass],
|
||||
'strVideoCategoryName' => empty($strNCategory) ? '' : str_replace("视频", "", $strNCategory),
|
||||
'strVideoStatus' => empty($strVStatus) ? '' : StaticConfig::$arrVideoStatus[$strVStatus],
|
||||
'strVideoOrder' => empty($strSortType) ? '' : StaticConfig::$arrVideoSortType[$strSortType],
|
||||
|
||||
Reference in New Issue
Block a user