From 7aefe043824fdd3fe6e281e1fb4f6f81320ebe8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=A7=80=E9=92=A2?= Date: Thu, 12 Dec 2019 19:03:27 +0800 Subject: [PATCH 1/2] =?UTF-8?q?modified=20apache=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E5=87=BA=E7=8E=B0No=20input=20file=20specified?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/.htaccess b/public/.htaccess index cbc7868..d9ee23c 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -4,5 +4,5 @@ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] From 65ca764a93be2e98f95c9bf0c7994683277b954a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=A7=80=E9=92=A2?= Date: Thu, 12 Dec 2019 19:11:29 +0800 Subject: [PATCH 2/2] =?UTF-8?q?modified=20=E9=A6=96=E9=A1=B5=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/route.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/route/route.php b/route/route.php index ec2137b..a6c8207 100644 --- a/route/route.php +++ b/route/route.php @@ -11,6 +11,8 @@ use think\facade\Route; +Route::miss('api/Miss/index'); + Route::group('admin', function() { Route::rule( 'Login/index', 'admin/Login/index', 'post'