blockItem.php 1015 B

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