feat : Decorator Http

This commit is contained in:
2025-09-07 10:15:57 +08:00
parent abb354ebe0
commit 04c4678e2e
9 changed files with 226 additions and 8 deletions

View File

@@ -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();
}