重新编排.gitignnore规则
This commit is contained in:
9
Server/route/route.php
Executable file → Normal file
9
Server/route/route.php
Executable file → Normal file
@@ -11,13 +11,10 @@
|
||||
|
||||
use think\facade\Route;
|
||||
|
||||
Route::get('think', function () {
|
||||
return 'hello,ThinkPHP5!';
|
||||
});
|
||||
|
||||
Route::get('hello/:name', 'index/hello');
|
||||
|
||||
// 加载Common模块路由配置
|
||||
include __DIR__ . '/../application/common/config/route.php';
|
||||
|
||||
// 加载Devices模块路由配置
|
||||
include __DIR__ . '/../application/devices/config/route.php';
|
||||
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user