debug
This commit is contained in:
@@ -1,83 +0,0 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 路由 配置
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
// H5/PC 端前缀
|
||||
'prefixes' => ['', '/pc', '/web', '/desktop', '/index', '/shouye', '/zhuomian'],
|
||||
|
||||
// 通用路径别名
|
||||
'paths' => [
|
||||
// 书库
|
||||
'library' => [
|
||||
'/shuku/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
'/books/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
'/library/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
'/fenlei/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
'/class/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
'/category/:strGender/:strCategory/:strStatus/page:intPage',
|
||||
],
|
||||
// 书库首页
|
||||
'library-index' => [
|
||||
'/shuku/all',
|
||||
'/books/all',
|
||||
'/library/all',
|
||||
'/fenlei/all',
|
||||
'/class/all',
|
||||
'/category/all',
|
||||
],
|
||||
|
||||
// 小说详情相关路径
|
||||
'novel' => [
|
||||
'/xiaoshuo/:name-:n_id',
|
||||
'/novel/:name-:n_id',
|
||||
'/book/:name-:n_id',
|
||||
'/xiaoshuo-:name-:n_id',
|
||||
'/novel-:name-:n_id',
|
||||
'/book-:name-:n_id',
|
||||
],
|
||||
|
||||
// 章节相关路径
|
||||
'chapter' => [
|
||||
'/xiaoshuo/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
'/novel/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
'/book/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
'/xiaoshuo-:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
'/novel-:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
'/book-:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]',
|
||||
],
|
||||
|
||||
// 目录相关路径
|
||||
'catalog' => [
|
||||
'/xiaoshuo/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
'/novel/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
'/book/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
'/xiaoshuo/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
'/novel/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
'/book/:name-:intNovelId/mulu/:strOrder/[:intPage]',
|
||||
],
|
||||
|
||||
// 最新章节-特殊页面处理
|
||||
'latest' => [
|
||||
'/xiaoshuo/:name-:n_id/chapter/latest',
|
||||
'/novel/:name-:n_id/chapter/latest',
|
||||
'/book/:name-:n_id/chapter/latest',
|
||||
'/xiaoshuo-:name-:n_id/chapter/latest',
|
||||
'/novel-:name-:n_id/chapter/latest',
|
||||
'/book-:name-:n_id/chapter/latest',
|
||||
],
|
||||
|
||||
|
||||
'rank' => ['/paihang/all', '/rank/all', '/paihang-quan', '/top/all', '/paihang-bang', '/ranks/all'], //排行榜
|
||||
'boys' => ['/nansheng-xiaoshuo', '/boys-novel', '/nansheng-shu', '/man-read', '/nansheng-book', '/male-novels'], // 男生
|
||||
'girls' => ['/nvsheng-xiaoshuo', '/girls-novel', '/nvsheng-shu', '/woman-read', '/nvsheng-book', '/female-novels'], //女生
|
||||
'search' => ['/search', '/explore', '/sousuo', '/find', '/query', '/keywords'], //搜索
|
||||
'user' => ['/user', '/my-account', '/profile', '/yonghu', '/wode-zhongxin', '/personal-center'], // 用户中心
|
||||
'bookshelf' => ['/bookshelf', '/book-shelf', '/reading-shelf', '/shujia', '/yuedu-shujia', '/book-collection'], //书架
|
||||
'history' => ['/history', '/reading-history', '/read-record', '/lishi', '/yuedu-lishi', '/browse-past'], // ;历史记录
|
||||
'index' => ['', 'web', 'desktop', 'index', 'shouye'], // 首页,包含空路径
|
||||
],
|
||||
|
||||
|
||||
];
|
||||
Reference in New Issue
Block a user