blockInfo.php 1015 B

123456789101112131415161718192021
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. Route::group(['domain' => env('APP_HOST'), 'prefix' => 'admin/blockInfo'],function(){
  4. Route::get('index', 'BlockInfosController@index')->name('admin.blockInfo.index');
  5. Route::post('index', 'BlockInfosController@index')->name('admin.blockInfo.ajax.index');
  6. Route::get('store','BlockInfosController@store')->name('admin.blockInfo.store');
  7. Route::post('store','BlockInfosController@store')->name('admin.blockInfo.save');
  8. Route::post('destroy/{id?}','BlockInfosController@destroy')->name('admin.blockInfo.destroy');
  9. Route::post('destroys','BlockInfosController@destroys')->name('admin.blockInfo.destroys');
  10. Route::get('edit/{id?}','BlockInfosController@edit')->name('admin.blockInfo.edit');
  11. Route::post('update/{id?}','BlockInfosController@update')->name('admin.blockInfo.update');
  12. });
  13. Route::group(['domain' => env('APP_HOST_WEB'), 'prefix' => 'blockInfo'],function (){
  14. Route::post('list', 'Front\\BlockInfosController@index');
  15. });