generated from php/site_api
11 lines
309 B
PHP
11 lines
309 B
PHP
<?php
|
|
|
|
use think\facade\Route;
|
|
use app\admin\middleware\Auth;
|
|
|
|
// 注册中间件到admin应用的路由组
|
|
Route::middleware(Auth::class)->group(function () {
|
|
// 这里是admin应用的路由定义
|
|
// Route::get('index', 'Index/index');
|
|
// ... 其他admin应用的路由定义
|
|
}); |