mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2024-11-29 18:47:35 +08:00
19 lines
856 B
Smarty
19 lines
856 B
Smarty
<?php
|
|
// +---------------------------------------------------------------------------------
|
|
// | ApiAdmin [ JUST FOR API ]
|
|
// +---------------------------------------------------------------------------------
|
|
// | Copyright (c) 2017~2020 https://www.apiadmin.org/ All rights reserved.
|
|
// +---------------------------------------------------------------------------------
|
|
// | Licensed ( https://gitee.com/apiadmin/ApiAdmin/blob/master/LICENSE.txt )
|
|
// +---------------------------------------------------------------------------------
|
|
// | Author: zhaoxiang <zhaoxiang051405@gmail.com>
|
|
// +---------------------------------------------------------------------------------
|
|
|
|
use think\facade\Route;
|
|
|
|
Route::group('api', function() {
|
|
{$API_RULE}
|
|
//MISS路由定义
|
|
Route::miss('api.Miss/index');
|
|
})->middleware(app\middleware\ApiResponse::class);
|