mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-05-25 22:39:32 +08:00
fixed 优化前端路由
This commit is contained in:
parent
d57b783038
commit
6e3118143b
@ -5,9 +5,7 @@
|
|||||||
|
|
||||||
use think\Route;
|
use think\Route;
|
||||||
|
|
||||||
Route::group('api', function () {
|
Route::miss('api/Index/index');
|
||||||
Route::miss('api/Index/index');
|
|
||||||
});
|
|
||||||
$afterBehavior = [
|
$afterBehavior = [
|
||||||
'\app\api\behavior\ApiAuth',
|
'\app\api\behavior\ApiAuth',
|
||||||
'\app\api\behavior\ApiPermission',
|
'\app\api\behavior\ApiPermission',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user