1
This commit is contained in:
parent
0498c3e1bb
commit
db4ca2c82d
@ -10,11 +10,11 @@
|
||||
// +----------------------------------------------------------------------
|
||||
use think\facade\Route;
|
||||
|
||||
Route::get('think', function () {
|
||||
return 'hello,ThinkPHP6!';
|
||||
});
|
||||
|
||||
Route::get('hello/:name', 'index/hello');
|
||||
//Route::get('think', function () {
|
||||
// return 'hello,ThinkPHP6!';
|
||||
//});
|
||||
//
|
||||
//Route::get('hello/:name', 'index/hello');
|
||||
|
||||
Route::rule('h5/:any', function () {
|
||||
return view(app()->getRootPath() . 'public/h5/index.html');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user