environment(); if ($app_env == 'local') { $domain = 'yy2.me'; } else { $domain = 'qasimblog.com'; } //产品 二级域名 include('common/audio.php'); include('common/compress.php'); include('common/images.php'); include('common/pdf.php'); include('common/video.php'); include('common/watermark.php'); ######################################################################### ######################################################################### /** * 页面路径 */ Route::get('/', 'IndexController@index'); Route::get('/buy', 'BuyController@index'); Route::get('/help', 'HelpController@index'); Route::get('/detail', 'HelpController@index'); Route::get('/about', 'AboutController@index'); Route::get('/news/category/{cid?}', 'HelpController@category'); Route::get('/news/detail/{mid?}', 'HelpController@detail'); // 测试 //Route::get('/help/{cid?}', [\App\Http\Home\Compress\IndexController::class, 'help']); //Route::get('/detail/{mid}', [\App\Http\Home\Compress\IndexController::class, 'newsDetail']); //test123 Route::any('/test123', 'IndexController@test123'); /** * 软件嵌入的页面 */ Route::get('/soft/login/{pmid}', 'SoftController@login'); Route::get('/soft/buy/{pmid}', 'SoftController@buy'); Route::get('/soft/reminder/{pmid}', 'SoftController@reminder'); Route::get('/soft/login2/{pmid}', 'SoftController@login2'); // electron use Route::get('/soft/buy2/{pmid}', 'SoftController@buy2'); // electron use Route::get('/soft/reminder2/{pmid}', 'SoftController@reminder2'); // electron use Route::get('/soft/pay/{code}', 'SoftController@pay'); Route::get('/download/{pmid}/{osPlatform?}', 'SoftController@download'); //exe安装包 Route::get('/download/{pmid}.exe', 'SoftController@download'); //exe安装包 Route::get('/soft/installPackage/{osPlatform}/{pmid}', 'SoftController@installPackage'); //卸载优惠展示 Route::get('/soft/uninstallWeb/{pmid}', 'SoftController@uninstallWeb'); //卸载优惠展示