mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
更新基础路由
This commit is contained in:
parent
0c806a0d2b
commit
cbdfcaea82
@ -25,7 +25,7 @@ Route::miss(function () {
|
||||
return view(app()->getRootPath() . 'public' . DS . 'index.html');
|
||||
default:
|
||||
if (!request()->isMobile()) {
|
||||
if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('type')) {
|
||||
if (is_dir(app()->getRootPath() . 'public' . DS . 'home') && !request()->get('mdType')) {
|
||||
return view(app()->getRootPath() . 'public' . DS . 'home' . DS . 'index.html');
|
||||
} else {
|
||||
if (request()->get('type')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user