From 4bc3d179a0497af1117d3d120283e1d44d26c91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A2=E4=B8=BB?= Date: Mon, 13 Jul 2020 23:55:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddoc/document=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=97=AE=E9=A2=98(tp5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helper.php b/helper.php index 494835f..840a29a 100644 --- a/helper.php +++ b/helper.php @@ -6,7 +6,7 @@ if ( defined( 'THINK_VERSION' ) ) { \think\Route::get( 'doc/assets', "\\OkCoder\\ApiDoc\\DocController@assets", [ 'deny_ext' => 'php|.htacess' ] ); \think\Route::get( 'doc/module', "\\OkCoder\\ApiDoc\\Controller@module" ); \think\Route::get( 'doc/action', "\\OkCoder\\ApiDoc\\Controller@action" ); - \think\Route::get( 'doc/document', "\\OkCoder\\ApiDoc\\\Controller@document" ); + \think\Route::get( 'doc/document', "\\OkCoder\\ApiDoc\\Controller@document" ); \think\Route::any( 'doc/login$', "\\OkCoder\\ApiDoc\\Controller@login" ); \think\Route::any( 'doc/format_params', "\\OkCoder\\ApiDoc\\Controller@format_params" ); } else { -- Gitee