更新功能

This commit is contained in:
2019-06-29 21:14:58 +08:00
parent d3eef9c5fd
commit 6bfc2db94a
23 changed files with 1046 additions and 955 deletions

View File

@@ -10,8 +10,11 @@
// +----------------------------------------------------------------------
use think\facade\Route;
Route::get('think', function () {
return 'hello,ThinkPHP6!';
Route::group('admin', function(){
Route::rule('/', 'admin.index/index');
//Route::rule(':controller', 'admin.:controller/index');
Route::rule('login', 'admin.index/login');
Route::rule(':controller/:function', 'admin.:controller/:function');
});
Route::get('hello/:name', 'index/hello');
Route::miss('index/miss');