diff --git a/app/controller/Index.php b/app/controller/Index.php
index 27c1c62..04d6b6d 100644
--- a/app/controller/Index.php
+++ b/app/controller/Index.php
@@ -8,11 +8,6 @@ class Index extends BaseController
{
public function index()
{
- return '';
- }
-
- public function hello($name = 'ThinkPHP8')
- {
- return 'hello,' . $name;
+ return '一个不知名的小工具';
}
}
diff --git a/route/app.php b/route/app.php
index 224bb19..4eee020 100644
--- a/route/app.php
+++ b/route/app.php
@@ -9,13 +9,6 @@
// | Author: liu21st
// +----------------------------------------------------------------------
use think\facade\Route;
-
-Route::get('think', function () {
- return 'hello,ThinkPHP8!';
-});
-
-Route::get('hello/:name', 'index/hello');
-
// 认证路由(不需要登录)
Route::get('login', 'auth/login');
Route::post('auth/doLogin', 'auth/doLogin');