Merge branch 'master' of http://app.git.1nww.com:8188/gitlab-instance-db4ab2e7/cxhxy
This commit is contained in:
commit
d4f38d15f2
@ -10,11 +10,11 @@
|
|||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
use think\facade\Route;
|
use think\facade\Route;
|
||||||
|
|
||||||
Route::get('think', function () {
|
//Route::get('think', function () {
|
||||||
return 'hello,ThinkPHP6!';
|
// return 'hello,ThinkPHP6!';
|
||||||
});
|
//});
|
||||||
|
//
|
||||||
Route::get('hello/:name', 'index/hello');
|
//Route::get('hello/:name', 'index/hello');
|
||||||
|
|
||||||
Route::rule('h5/:any', function () {
|
Route::rule('h5/:any', function () {
|
||||||
return view(app()->getRootPath() . 'public/h5/index.html');
|
return view(app()->getRootPath() . 'public/h5/index.html');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user