This commit is contained in:
尖叫 2023-12-08 16:19:07 +08:00
parent 0498c3e1bb
commit db4ca2c82d

View File

@ -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');