123456789101112131415161718192021 |
- <?php
- use Illuminate\Support\Facades\Route;
- Route::group(['domain' => env('APP_HOST'), 'prefix' => 'admin/invest'],function(){
- Route::get('index', 'InvestsController@index')->name('admin.invest.index');
- Route::post('index', 'InvestsController@index')->name('admin.invest.ajax.index');
- Route::get('store','InvestsController@store')->name('admin.invest.store');
- Route::post('store','InvestsController@store')->name('admin.invest.save');
- Route::post('destroy/{id?}','InvestsController@destroy')->name('admin.invest.destroy');
- Route::post('destroys','InvestsController@destroys')->name('admin.invest.destroys');
- Route::get('edit/{id?}','InvestsController@edit')->name('admin.invest.edit');
- Route::post('update/{id?}','InvestsController@update')->name('admin.invest.update');
- });
- Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'invest'],function (){
- Route::post('list', 'Front\\InvestsController@index');
- });
|