mirror of
https://github.com/aoaostar/toolbox.git
synced 2026-01-06 12:05:05 +00:00
修复插件api异常
This commit is contained in:
parent
49fa93195e
commit
092d52b29e
@ -3,4 +3,4 @@
|
||||
// | 版本号
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
define('VERSION', 'v1.1');
|
||||
define('VERSION', 'v1.1.1');
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 598 KiB After Width: | Height: | Size: 979 KiB |
@ -16,7 +16,7 @@ Route::rule('api/:alias/[:method]', function () {
|
||||
return msg("error", "该Api不存在该方法");
|
||||
}
|
||||
return $app->$method();
|
||||
})->pattern(['alias' => '[\w|\-/]+'])->middleware([\app\middleware\RequestRecord::class]);
|
||||
})->middleware([\app\middleware\RequestRecord::class]);
|
||||
|
||||
Route::get(':alias', function () {
|
||||
$alias = plugin_alias_get();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user