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