123456789101112131415161718192021 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'common'],function (){
- Route::match(['get','post'],'index', 'CommonController@index')->name('common.index');
- Route::match(['get','post'],'send', 'CommonController@sendSms')->name('common.send');
- Route::match(['post'],'base64', 'CommonController@base64Image')->name('common.base64');
- Route::match(['post'],'file', 'CommonController@fileImage')->name('common.file');
- Route::match(['post','get'],'js', 'CommonController@getJsConfig')->name('common.js');
- Route::match(['post','get'],'message', 'CommonController@getSysMessage')->name('common.message');
- Route::match(['post','get'],'location', 'CommonController@getLocation')->name('common.location');
- Route::match(['post','get'],'address', 'CommonController@getLocationAddress')->name('common.address');
- Route::match(['post','get'],'sts', 'CommonController@getAliSts')->name('common.sts');
- Route::match(['post','get'],'privacy_info', 'CommonController@getPrivacyInfo')->name('common.privacy_info');//获取隐私协议
- });
|