ApiAdmin/route/apiRoute.php
2020-10-13 00:44:24 +08:00

12 lines
195 B
PHP

<?php
/**
* Api路由
*/
use think\facade\Route;
Route::group('api', function() {
//MISS路由定义
Route::miss('api.Miss/index');
})->middleware(app\middleware\ApiResponse::class);