24 lines
613 B
PHP
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();
|
|
}
|
|
}
|