contractLog.php 1.0 KB

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