修改public/.htaccess
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改为
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
在index.php后面加?号
修改public/.htaccess
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改为
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
在index.php后面加?号