Server IP : 66.29.132.124 / Your IP : 13.59.36.36 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/Media/Routes/ |
Upload File : |
<?php use Illuminate\Support\Facades\Route; // Route::get('media/private/view','MediaController@privateFileView')->middleware('auth')->name('media.private.view'); Route::post('media/edit_image','MediaController@editImage')->name('media.edit.image'); // Media Route::group(['prefix'=>'media'],function(){ Route::get('/preview/{id}/{size?}','\Modules\Media\Controllers\MediaController@preview');// Route::post('/private/store','MediaController@privateFileStore')->name('media.private.store');// }); Route::group(['middleware' => ['auth'],'prefix' => config('admin.admin_route_prefix')],function(){ Route::post('/module/media/store','\Modules\Media\Admin\MediaController@store'); Route::post('/module/media/getLists','\Modules\Media\Admin\MediaController@getLists'); Route::post('/module/media/removeFiles','\Modules\Media\Admin\MediaController@removeFiles'); });