feat : rank

This commit is contained in:
2025-04-09 10:13:40 +08:00
parent a4a715a9e3
commit 96cad2a73a
6 changed files with 153 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middlewares;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\Validation\Annotation\Scene;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\NotFoundExceptionInterface;
#[Controller(prefix: 'api/chef')]
#[Middlewares([
@@ -19,6 +21,8 @@ class ChefController
{
/**
* @return array
* @throws ContainerExceptionInterface
* @throws NotFoundExceptionInterface
*/
#[RequestMapping(path: "index", methods: "GET")]
#[Scene(scene: "index")]