Files
hyperf_service/app/Controller/Api/SystemController.php
2025-02-27 17:21:21 +08:00

26 lines
657 B
PHP

<?php
declare(strict_types=1);
namespace App\Controller\Api;
use App\Controller\AbstractController;
use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\System\SiteListService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\Validation\Annotation\Scene;
#[Controller(prefix: 'api/system')]
class SystemController extends AbstractController
{
#[RequestMapping(path: 'site/search_list',methods: 'POST')]
#[Scene(scene: 'search_list')]
public function searchSiteList()
{
return (new SiteListService)->handle();
}
}