moneyDetail.php 898 B

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