..
This commit is contained in:
@@ -11,11 +11,12 @@ use App\Model\Campus;
|
|||||||
use App\Validator\CampusValidator;
|
use App\Validator\CampusValidator;
|
||||||
use Exception;
|
use Exception;
|
||||||
use Hyperf\Di\Annotation\Inject;
|
use Hyperf\Di\Annotation\Inject;
|
||||||
|
use Hyperf\HttpServer\Annotation\Controller;
|
||||||
use Hyperf\HttpServer\Contract\RequestInterface;
|
use Hyperf\HttpServer\Contract\RequestInterface;
|
||||||
|
|
||||||
/**
|
#[Controller(
|
||||||
* @Controller(prefix="/api/v1/campus")
|
prefix: '/api/v1/campus',
|
||||||
*/
|
)]
|
||||||
class CampusController extends AetherController
|
class CampusController extends AetherController
|
||||||
{
|
{
|
||||||
#[Inject]
|
#[Inject]
|
||||||
|
|||||||
Reference in New Issue
Block a user