123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- <?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 = 'xingyousoft.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('/softcenter/XYEbook', 'SoftcenterController@XYEbook');
- Route::get('/softcenter/XYPinyin', 'SoftcenterController@XYPinyin');
- Route::get('/softcenter/XYImage', 'SoftcenterController@XYImage');
- Route::get('/softcenter/XYAudio', 'SoftcenterController@XYAudio');
- Route::get('/softcenter/XYVideos', 'SoftcenterController@XYVideos');
- Route::get('/softcenter/XYRename', 'SoftcenterController@XYRename');
- Route::get('/softcenter/XYCompress', 'SoftcenterController@XYCompress');
- Route::get('/softcenter/XYPdf', 'SoftcenterController@XYPdf');
- // 测试
- //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'); //卸载优惠展示
|