first commit
This commit is contained in:
17
app/Controller/admin/DashboardController.php
Executable file
17
app/Controller/admin/DashboardController.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller\admin;
|
||||
|
||||
use Hyperf\HttpServer\Annotation\Controller;
|
||||
use Hyperf\HttpServer\Annotation\RequestMapping;
|
||||
use Hyperf\View\RenderInterface;
|
||||
|
||||
#[Controller]
|
||||
class DashboardController
|
||||
{
|
||||
#[RequestMapping(path: '', methods: 'get')]
|
||||
public function index(RenderInterface $render)
|
||||
{
|
||||
return $render->render('dashboard');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user