first commit

This commit is contained in:
编码猿
2024-09-27 01:06:04 +08:00
commit cbed24c40d
205 changed files with 8732 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Http\Controller;
use App\Exception\ApiException;
use Swoft\Http\Server\Annotation\Mapping\Controller;
use Swoft\Http\Server\Annotation\Mapping\RequestMapping;
/**
* @Controller(prefix="ex")
*/
class ExceptionController
{
/**
* @RequestMapping(route="api")
*
* @throws ApiException
*/
public function api(){
throw new ApiException("api of ExceptionController");
}
}