This commit is contained in:
walkor 2022-12-02 19:20:11 +08:00
parent 74e2f047f8
commit e5fdfc2bc4
3 changed files with 4 additions and 4 deletions

View File

@ -16,15 +16,15 @@ class PluginController extends Base
* 不需要鉴权的方法 * 不需要鉴权的方法
* @var string[] * @var string[]
*/ */
protected $noNeedAuth = ['schema', 'captcha', 'app']; protected $noNeedAuth = ['schema', 'captcha'];
/** /**
* @param Request $request * @param Request $request
* @return Response * @return Response
*/ */
public function app(Request $request): Response public function index(Request $request): Response
{ {
return view('plugin/app'); return view('plugin/index');
} }
/** /**

View File

@ -96,7 +96,7 @@ return [
[ [
'title' => '应用插件', 'title' => '应用插件',
'key' => 'plugin\\admin\\app\\controller\\PluginController', 'key' => 'plugin\\admin\\app\\controller\\PluginController',
'href' => '/app/admin/plugin/app', 'href' => '/app/admin/plugin/index',
'weight' => 800, 'weight' => 800,
'type' => 1, 'type' => 1,
] ]