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