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