debug-video-seowords
This commit is contained in:
@@ -281,6 +281,25 @@ $arrRoutes = [
|
||||
|
||||
],
|
||||
|
||||
/**
|
||||
* 视频详情-伪造
|
||||
* /voddetail/strVideoPinyin-1-1
|
||||
*/
|
||||
'video_info_forge' => [
|
||||
'/voddetail/:strPinyin-:intVId-:intVForgeId',
|
||||
'/vodinfo/:strPinyin-:intVId-:intVForgeId',
|
||||
'/vod/:strPinyin-:intVId-:intVForgeId',
|
||||
|
||||
'/video-info/:strPinyin-:intVId-:intVForgeId',
|
||||
'/video-detail/:strPinyin-:intVId-:intVForgeId',
|
||||
'/video/:strPinyin-:intVId-:intVForgeId',
|
||||
|
||||
'/shipin/:strPinyin-:intVId-:intVForgeId',
|
||||
'/shipin-xiangqing/:strPinyin-:intVId-:intVForgeId',
|
||||
'/shipin-neiron/:strPinyin-:intVId-:intVForgeId',
|
||||
|
||||
],
|
||||
|
||||
/**
|
||||
* 视频详情
|
||||
* /voddetail/strVideoPinyin-1
|
||||
@@ -440,6 +459,19 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
|
||||
'intPage' => '\d*', // 允许空值
|
||||
]);
|
||||
break;
|
||||
|
||||
case 'video_info_forge':
|
||||
//详情
|
||||
$strView = 'pc/getVideoInfo.html';
|
||||
if ($platform == 'h5') {
|
||||
$strView = 'video/getVideoInfo.html';
|
||||
}
|
||||
Route::get($strRoute, function () use ($strView) {
|
||||
return view($strView);
|
||||
})
|
||||
->pattern(['intVId' => '\d+', 'strPinyin' => '[\w-]+','intVForgeId' => '\d+']);
|
||||
|
||||
break;
|
||||
case 'video_info':
|
||||
//详情
|
||||
$strView = 'pc/getVideoInfo.html';
|
||||
|
||||
Reference in New Issue
Block a user