modified 优化默认路由

This commit is contained in:
zhaoxiang 2018-03-03 00:04:19 +08:00
parent c4a20b9a16
commit 07d4907bee

View 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'];