ApiAdmin/install/apiRoute.tpl
2020-10-09 20:15:34 +08:00

13 lines
191 B
Smarty

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