first commit
This commit is contained in:
29
application/route.php
Normal file
29
application/route.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
|
||||
'__pattern__' => [
|
||||
'name' => '\w+',
|
||||
'id' => '\d+',
|
||||
'uid' => '\d+',
|
||||
],
|
||||
|
||||
'__domain__' => [
|
||||
'www.helper.skl2010.com' => 'index',
|
||||
'm.helper.skl2010.com' => 'mobile',
|
||||
'console.helper.skl2010.com' => 'system',
|
||||
'api.helper.skl2010.com' => 'openapi',
|
||||
'*' => 'index',
|
||||
],
|
||||
|
||||
// 'u/:uid' => ['user/index', ['domain' => 'm.helper.cnskl.com']],
|
||||
]; // 'new/:id','News/read',);
|
||||
Reference in New Issue
Block a user