123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- <?php
- return [
- '/'=>'web/default/index',
- '/catlist/'=>'web/default/catlist',
- [
- 'pattern' => 'dingcallback',
- 'route' => 'openauth/dingcallback',
- 'suffix' => '',
- ],
- [
- 'pattern' => 'wxcallback',
- 'route' => 'openauth/wxcallback',
- 'suffix' => '',
- ],
- [
- 'pattern' => 'wbcallback',
- 'route' => 'openauth/wbcallback',
- 'suffix' => '',
- ],
- [
- 'pattern' => 'qqcallback',
- 'route' => 'openauth/qqcallback',
- 'suffix' => '',
- ],
- '/mplogin/'=>'openauth/mplogin',
- '/mpmsg/'=>'openauth/mpmsg',
- '/mpsub/'=>'openauth/mpsub',
- '/fetchopenauth/' =>'openauth/fetchopenauth',
- '/fetchmpmsg/' =>'openauth/fetchmpmsg',
- '/accesstokenlogin/' => 'openauth/accesstokenlogin',
- '/weixin/'=>'weixin/openauth',
- '/mp/'=>'weixin/mp',
- '/freedowncode/'=>'openauth/freedowncode',
- //用户中心
- '/loginhome/'=>'ucenter/default/loginhome',
- '/login/'=>'ucenter/default/login',
- '/register/'=>'ucenter/default/register',
- '/forgetpwd/'=>'ucenter/default/forgetpwd',
- '/logout/'=>'ucenter/default/logout',
- '/ucenter/'=>'ucenter/default/index',
- '/myaccount/<tab:\d+>/'=>'ucenter/default/account',
- '/myaccount/'=>'ucenter/default/account',
- '/certindex/'=>'ucenter/default/certindex',
- '/certuser/'=>'ucenter/default/certuser',
- '/certorg/'=>'ucenter/default/certorg',
- '/coincharge/'=>'ucenter/default/coincharge',
- '/coinlog/<type:\d+>/'=>'ucenter/default/coinlog',
- '/pointlog/'=>'ucenter/default/pointlog',
- '/moneylog/'=>'ucenter/default/moneylog',
- '/docpaylog/'=>'ucenter/default/docpaylog',
- '/myfavorite/'=>'ucenter/default/myfavorite',
- '/myfocus/'=>'ucenter/default/myfocus',
- '/myhistory/'=>'ucenter/default/myhistory',
- '/myinvite/' =>'ucenter/default/myinvite',
- '/mymsg/<type:\d+>/' =>'ucenter/default/mymsg',
- '/setbank/<type:\d+>/' =>'ucenter/default/setbank',
- '/withdraw/'=>'ucenter/default/withdraw',
- '/myorder/'=>'ucenter/default/myorder',
- '/myaddress/'=>'ucenter/default/myaddress',
- '/contact/'=>'ucenter/default/contact',
- '/wallet/'=>'ucenter/default/wallet',
- '/upsingle/'=>'ucenter/uploader/single',
- '/upcollect/'=>'ucenter/uploader/collect',
- '/upmulti/'=>'ucenter/uploader/multi',
- '/upsource/'=>'ucenter/uploader/source',
- '/writerindex/'=>'ucenter/writer/index',
- '/myupload/'=>'ucenter/writer/myupload',
- '/mydoc/'=>'ucenter/writer/mydoc',
- '/mysales/'=>'ucenter/writer/mysales',
- '/vip/'=>'web/default/vip',
- '/mycoms/'=>'ucenter/commission/index',
- '/comsteam/'=>'ucenter/commission/team',
- '/comsorders/'=>'ucenter/commission/orders',
- '/comslogs/'=>'ucenter/commission/logs',
- //用户中心(手机端)
- '/myinfo/'=>'ucenter/default/myinfo',
- '/changepwd/'=>'ucenter/default/changepwd',
- '/bindaccount/'=>'ucenter/default/bindaccount',
- '/tobindmp/'=>'ucenter/default/tobindmp',
- '/bindmpmsg/'=>'ucenter/default/bindmpmsg',
- '/bindmob/'=>'ucenter/default/bindmob',
- '/bindemail/'=>'ucenter/default/bindemail',
- '/income/'=>'ucenter/default/income',
- '/point2coin/'=>'ucenter/default/point2coin',
- '/coin2money/'=>'ucenter/default/coin2money',
- '/help/'=>'ucenter/default/help',
- '/report/'=>'ucenter/default/report',
- //文档列表
- [
- 'pattern' => '/doc/<id:\w+>/',
- 'route' => 'doc/default/detail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/docs/<sch:[\w-]+>/p/<page:\d+>',
- 'route' => 'doc/default/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/docs/<sch:[\w-]+>/',
- 'route' => 'doc/default/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/docs/p/<page:\d+>',
- 'route' => 'doc/default/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/docs/',
- 'route' => 'doc/default/list',
- 'suffix' => '.html',
- ],
- //合辑列表
- [
- 'pattern' => '/col/<id:\d+>/<sch:[\w-]+>/p/<page:\d+>',
- 'route' => 'doc/default/coldetail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/col/<id:\d+>/<sch:[\w-]+>/',
- 'route' => 'doc/default/coldetail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/col/<id:\d+>/p/<page:\d+>',
- 'route' => 'doc/default/coldetail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/col/<id:\d+>/',
- 'route' => 'doc/default/coldetail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/cols/<sch:[\w-]+>/p/<page:\d+>',
- 'route' => 'doc/default/collist',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/cols/<sch:[\w-]+>/',
- 'route' => 'doc/default/collist',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/cols/p/<page:\d+>',
- 'route' => 'doc/default/collist',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/cols/',
- 'route' => 'doc/default/collist',
- 'suffix' => '.html',
- ],
- //搜索
- '/so/<model_id:\d+>-<kw:([^\/]+)>/<sch:[\w-]+>/p/<page:\d+>' => 'web/default/search',
- '/so/<model_id:\d+>-<kw:([^\/]+)>/<sch:[\w-]+>/' => 'web/default/search',
- '/so/<model_id:\d+>-<kw:([^\/]+)>/p/<page:\d+>' => 'web/default/search',
- '/so/<model_id:\d+>-<kw:([^\/]+)>/' => 'web/default/search',
- //标签
- '/tag/<model_id:\d+>-<pinyin:([^\/]+)>/<sch:[\w-]+>/p/<page:\d+>' => 'web/default/tag',
- '/tag/<model_id:\d+>-<pinyin:([^\/]+)>/<sch:[\w-]+>/' => 'web/default/tag',
- '/tag/<model_id:\d+>-<pinyin:([^\/]+)>/p/<page:\d+>' => 'web/default/tag',
- '/tag/<model_id:\d+>-<pinyin:([^\/]+)>/' => 'web/default/tag',
- '/tag/<pinyin:([^\/]+)>/<sch:[\w-]+>/p/<page:\d+>' => 'web/default/tag',
- '/tag/<pinyin:([^\/]+)>/<sch:[\w-]+>/' => 'web/default/tag',
- '/tag/<pinyin:([^\/]+)>/p/<page:\d+>' => 'web/default/tag',
- '/tag/<pinyin:([^\/]+)>/' => 'web/default/tag',
- //资讯
- [
- 'pattern' => '/news/<id:\w+>/',
- 'route' => 'cms/news/detail',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/newslist/<sch:[\w-]+>/p/<page:\d+>',
- 'route' => 'cms/news/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/newslist/<sch:[\w-]+>/',
- 'route' => 'cms/news/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/newslist/p/<page:\d+>',
- 'route' => 'cms/news/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/newslist/',
- 'route' => 'cms/news/list',
- 'suffix' => '.html',
- ],
- [
- 'pattern' => '/newshome/',
- 'route' => 'cms/news/home',
- 'suffix' => '.html',
- ],
- //单页
- '/page/c<cat_id:\d+>' => 'web/default/page',
- '/page/' => 'web/default/page',
- '/announce/<id:\d+>' => 'web/default/announce',
- '/announce/' => 'web/default/announce',
- //个人主页
- '/uhome/<user_id:\d+>/<sch:[\w-]+>/p/<page:\d+>' =>'web/default/uhome',
- '/uhome/<user_id:\d+>/<sch:[\w-]+>/' =>'web/default/uhome',
- '/uhome/<user_id:\d+>/p/<page:\d+>' => 'web/default/uhome',
- '/uhome/<user_id:\d+>/' => 'web/default/uhome',
- //下载落地页
- '/linkdown/' => 'web/default/linkdown',
- //下面是系统不可缺少的
- 'avt/<width:\d+>/<height:\d+>/<hash:\w+>.jpg' => 'site/makethumb',
- 'p/<width:\d+>/<height:\d+>/<hash:\w+>.jpg' => 'site/makethumb',
- //百度推送地址
- '/baidu/' => 'web/sitemap/baidu',
- //网站地图
- [
- 'pattern' => 'web/sitemap',
- 'route' => 'web/sitemap/sitemap',
- 'suffix' => '.xml',
- ],
- [
- 'pattern' => 'web/sitemap1',
- 'route' => 'web/sitemap/sitemap1',
- 'suffix' => '.xml',
- ],
- ];
|