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] 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'