Files
swiftadmin/app/index/controller/Index.php

31 lines
1017 B
PHP
Raw Normal View History

2022-08-19 19:48:37 +08:00
<?php
declare (strict_types=1);
// +----------------------------------------------------------------------
// | swiftAdmin 极速开发框架 [基于WebMan开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2030 http://www.swiftadmin.net
// +----------------------------------------------------------------------
// | swiftAdmin.net High Speed Development Framework
// +----------------------------------------------------------------------
// | Author: meystack <coolsec@foxmail.com> Apache 2.0 License
// +----------------------------------------------------------------------
namespace app\index\controller;
use app\HomeController;
2022-11-28 19:11:12 +08:00
use Psr\SimpleCache\InvalidArgumentException;
2023-06-19 14:32:30 +08:00
use support\Response;
2022-08-19 19:48:37 +08:00
class Index extends HomeController
{
/**
* 前端首页
* @return Response
* @throws InvalidArgumentException
*/
2022-11-28 19:11:12 +08:00
public function index(): Response
2022-08-19 19:48:37 +08:00
{
return $this->view('index/index', ['name' => 'meystack']);
}
}