Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/rentpix.corals.io/Corals/modules/RentPix/routes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/rentpix.corals.io/Corals/modules/RentPix/routes/api.php
<?php

use Illuminate\Support\Facades\Route;

Route::post('inspect', 'InspectionsController@inspect');

Route::post('rentpix/login', 'AuthenticationController@Login');

Route::get('inspection-data', 'InspectionsController@inspectionData');

Route::controller('InspectionsController')
    ->prefix('inspections/{inspection}')
    ->group(function () {
        Route::post('upload-images', 'uploadImages')->withTrashed();
        Route::post('upload-single-image', 'uploadSingleImage')->withTrashed();
        Route::post('update-create-driver', 'updateOrCreateDriver')->withTrashed();
        Route::post('mark-inspection-as/{status}', 'updateInspectionStatus');
        Route::post('re-fetch-reservation', 'reFetchReservation');
    });

Route::prefix('inspections/{inspection}')
    ->group(function () {
        Route::post('add-note', 'CommentController@submitInspectionNote');
    });

Route::group(['prefix' => 'inspections'], function () {
    Route::post('submit', 'InspectionsController@submitInspection');
    Route::get('get-presigned-url', 'InspectionsController@getPreSignedUrl');
    Route::delete('delete-single-image/{imageId}', 'InspectionsController@deleteSingleImage');
});

Route::post('reservation', 'ReservationsController@reservation');

Spamworldpro Mini