feat: redis

This commit is contained in:
2025-01-21 16:20:16 +08:00
parent df78fc705d
commit 2beb8d9e55
32 changed files with 310 additions and 84 deletions

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Controller\Api;
use App\Controller\AbstractController;
use App\Request\Api\LoginRequest;
use App\Service\Api\Login\LoginService;
use Hyperf\HttpServer\Annotation\Controller;
@@ -11,7 +12,7 @@ use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\Validation\Annotation\Scene;
#[Controller(prefix: 'api/login')]
class LoginController
class LoginController extends AbstractController
{
#[RequestMapping(path: 'index',methods: 'post')]
#[Scene(scene: 'login')]