<?php
use think\facade\Route;


// Route::group(function () {
//     Route::rule(':version/user/:action', 'api/:version.user/:action');
// })->middleware(\app\api\middleware\JWT::class);

Route::rule(':version/:controller/:action','adminapi/:version.:controller/:action');
