feat : Decorator Http
This commit is contained in:
@@ -45,7 +45,12 @@ class DecoratorController extends AbstractController
|
||||
return (new AopService)->handle();
|
||||
}
|
||||
|
||||
public function http()
|
||||
/**
|
||||
* http 装饰器
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: 'http', methods: 'GET')]
|
||||
public function http(): array
|
||||
{
|
||||
return (new HttpService)->handle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user