wujunxiong 4725452b86 初始版本提交 | 2 lat temu | |
---|---|---|
.. | ||
bin | 2 lat temu | |
src | 2 lat temu | |
tests | 2 lat temu | |
LICENSE | 2 lat temu | |
README.md | 2 lat temu | |
composer.json | 2 lat temu |
composer require easyswoole/http-annotation
/**
* Class ControllerA
* @package EasySwoole\HttpAnnotation\Tests\TestController
* @ApiGroup(groupName="A")
* @ApiGroupDescription()
*/
class ControllerA extends AnnotationController
{
/**
* @Api(path="/A/test")
*/
function test()
{
}
/**
* @Api(path="")
*/
function test2()
{
}
}