member.php 990 B

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