Apache 2.0 License // +---------------------------------------------------------------------- namespace app\index\controller; use app\HomeController; use support\Response; use Psr\SimpleCache\InvalidArgumentException; use think\db\exception\DataNotFoundException; use think\db\exception\DbException; use think\db\exception\ModelNotFoundException; class Index extends HomeController { /** * 前端首页 * @return Response * @throws InvalidArgumentException * @throws DataNotFoundException * @throws DbException * @throws ModelNotFoundException */ public function index(): Response { return $this->view('index/index', ['name' => 'meystack']); } }