memberCoin.php 1.0 KB

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