Skip to content

Commit

Permalink
修复插件api异常
Browse files Browse the repository at this point in the history
  • Loading branch information
aoaostar committed Jan 5, 2022
1 parent 49fa931 commit 092d52b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
// | 版本号
// +----------------------------------------------------------------------

define('VERSION', 'v1.1');
define('VERSION', 'v1.1.1');
Binary file modified docs/images/view_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion route/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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();
Expand Down

0 comments on commit 092d52b

Please sign in to comment.