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