memberGrade.php 1.0 KB

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