添加跨域

添加服务后台添加
This commit is contained in:
2025-12-23 10:28:15 +08:00
parent eeb443b225
commit 3f6112d6f1
6 changed files with 75 additions and 1 deletions

View File

@@ -12,5 +12,5 @@ Route::rule('mobile/:any', function () {
//手机h5页面路由
Route::rule('pc/:any', function () {
Config::set('app_trace', false);
return view(app()->getRootPath() . 'public/pc/index.html');
return view(app()->getRootPath() . 'public/pc/lists.html');
})->pattern(['any' => '\w+']);