noticeRead.php 911 B

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