添加网站文件

This commit is contained in:
2025-12-22 13:59:40 +08:00
commit 117aaf83d1
19468 changed files with 2111999 additions and 0 deletions

16
route/route.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
use think\facade\Config;
use think\facade\Route;
//手机h5页面路由
Route::rule('mobile/:any', function () {
Config::set('app_trace', false);
return view(app()->getRootPath() . 'public/mobile/index.html');
})->pattern(['any' => '\w+']);
//手机h5页面路由
Route::rule('pc/:any', function () {
Config::set('app_trace', false);
return view(app()->getRootPath() . 'public/pc/index.html');
})->pattern(['any' => '\w+']);