modified 添加默认的apiRoute

This commit is contained in:
zhaoxiang 2018-03-06 11:24:30 +08:00
parent d4e7020e7e
commit a9fd6380e5

8
application/apiRoute.php Normal file
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'];