Files
mayi-grade/app/index/route/index.php
T
2020-12-18 15:17:33 +08:00

16 lines
737 B
PHP
Executable File

<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;
// 主页
Route::rule('/','index/index','get'); //主页
Route::rule('welcome','index/welcome','get'); //欢迎页