mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 优化默认路由
This commit is contained in:
parent
c4a20b9a16
commit
07d4907bee
8
application/wiki/apiRoute.php
Normal file
8
application/wiki/apiRoute.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* Api路由
|
||||
*/
|
||||
use think\Route;
|
||||
|
||||
Route::miss('api/Index/index');
|
||||
$afterBehavior = ['\app\api\behavior\ApiAuth', '\app\api\behavior\ApiPermission', '\app\api\behavior\RequestFilter'];
|
Loading…
x
Reference in New Issue
Block a user