feat : user

This commit is contained in:
2025-03-03 16:21:38 +08:00
parent e92a1cd8c0
commit d6f9f348da
12 changed files with 361 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ namespace App\Controller\Api;
use App\Controller\AbstractController;
use App\Middleware\Api\JwtAuthMiddleware;
use App\Service\Api\System\CityListService;
use App\Service\Api\System\SiteListService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
@@ -23,8 +24,10 @@ class SystemController extends AbstractController
return (new SiteListService)->handle();
}
#[RequestMapping(path: 'city',methods: 'GET')]
#[Scene(scene: 'city')]
public function getCityList()
{
return (new SiteListService)->handle();
return (new CityListService)->handle();
}
}