fix : user site
This commit is contained in:
@@ -17,6 +17,8 @@ use Hyperf\HttpServer\Annotation\Middleware;
|
||||
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/system')]
|
||||
@@ -58,7 +60,13 @@ class SystemController extends AbstractController
|
||||
return (new IndexService)->handle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
#[RequestMapping(path: "sts/accredit", methods: "GET")]
|
||||
#[Scene(scene: 'sts_accredit')]
|
||||
#[Middleware(JwtAuthMiddleware::class)]
|
||||
public function aliSts()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user