12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?php
- use Illuminate\Support\Facades\Route;
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | Here is where you can register web routes for your application. These
- | routes are loaded by the RouteServiceProvider within a group which
- | contains the "web" middleware group. Now create something great!
- |
- */
- $app_env = app()->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'); //卸载优惠展示
|