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'); });