getRootPath() . 'public/admin/index.html'); })->pattern(['any' => '\w+']); // 手机端 Route::rule('wap/:any', function () { return view(app()->getRootPath() . 'public/wap/index.html'); })->pattern(['any' => '\w+']); // 手机端 Route::rule('web/:any', function () { return view(app()->getRootPath() . 'public/web/index.html'); })->pattern(['any' => '\w+']); //用于公众号授权证书 Route::any('MP_verify_.txt', function ($name) { echo $name; });