123456789101112 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'contract'],function (){
- Route::match(['get','post'],'invest', 'ContractController@getInvestData')->name('contract.invest');
- Route::match(['get','post'],'add-invest', 'ContractController@setInvest')->name('contract.add-invest');
- Route::match(['get','post'],'earnings', 'ContractController@getEarnings')->name('contract.earnings');
- Route::match(['get','post'],'contracts', 'ContractController@getContractList')->name('contract.contracts');
- });
|