安装框架

This commit is contained in:
杨志
2026-01-20 10:27:11 +08:00
parent ec32bcf42d
commit 6e0c3ae1a0
41 changed files with 927 additions and 2 deletions

18
app/controller/Index.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
namespace app\controller;
use app\BaseController;
class Index extends BaseController
{
public function index()
{
return '<style>*{ padding: 0; margin: 0; }</style><iframe src="https://www.thinkphp.cn/welcome?version=' . \think\facade\App::version() . '" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>';
}
public function hello($name = 'ThinkPHP8')
{
return 'hello,' . $name;
}
}