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