mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
!20 modified 解决apache服务器问题,默认路由
Merge pull request !20 from Stefan阿钢/master
This commit is contained in:
commit
974e192c00
@ -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]
|
||||
</IfModule>
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user