mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +08:00
25 lines
476 B
PHP
25 lines
476 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Controller\Api;
|
|
|
|
use App\Annotation\ResponseFormat;
|
|
use App\Controller\AbstractController;
|
|
use Hyperf\HttpServer\Annotation\Controller;
|
|
use Hyperf\HttpServer\Annotation\RequestMapping;
|
|
|
|
#[Controller(prefix: "api/login")]
|
|
#[ResponseFormat('api')]
|
|
class LoginController extends AbstractController
|
|
{
|
|
/**
|
|
* @return array
|
|
*/
|
|
#[RequestMapping(path: "list", methods: "GET")]
|
|
public function login()
|
|
{
|
|
|
|
}
|
|
}
|