Files
hyperf_service/app/Controller/Admin/ThirdController.php
2024-10-30 16:31:13 +08:00

24 lines
613 B
PHP

<?php
declare(strict_types=1);
namespace App\Controller\Admin;
use App\Controller\AbstractController;
use App\Middleware\Admin\JwtAuthMiddleware;
use App\Service\Admin\Third\AliStsService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middleware;
use Hyperf\HttpServer\Annotation\RequestMapping;
#[Controller(prefix: "admin/third")]
class ThirdController extends AbstractController
{
#[RequestMapping(path: "sts/accredit", methods: "GET")]
#[Middleware(JwtAuthMiddleware::class)]
public function aliSts()
{
return (new AliStsService)->handle();
}
}