One Hat Cyber Team
Your IP :
216.73.216.182
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
hotdog-station.com
/
routes
/
View File Name :
customer.php
<?php use App\Http\Controllers\Agent\AgentController; use App\Http\Controllers\Customer\CustomerController; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Home Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::prefix('{prefix}')->controller(CustomerController::class)->middleware('auth')->group(function () { Route::get('/messages/{id?}/{code?}', 'user_messages')->name('user.messages'); Route::post('/messages/{code?}', 'send_message')->name('user.message.send'); }); Route::controller(CustomerController::class)->middleware('auth', 'customer')->group(function () { Route::get('/customer/wishlist', 'wishlist')->name('customer.wishlist'); Route::get('/customer/remove/wishlist/{id}', 'remove_wishlist')->name('customer.remove.wishlist'); Route::get('/customer/appointment', 'appointment')->name('customer.appointment'); Route::get('/customer/become-an-agent', 'become_an_agent')->name('customer.become_an_agent'); Route::get('/customer/following-agent', 'following_agent')->name('customer.following-agent'); Route::get('/customer/following-remove/{id}', 'following_agent_remove')->name('customer.remove.follow_agent'); Route::get('/customer/appointment/status/{id}', [AgentController::class, 'appointment_delete'])->name('customer.appointment.delete'); Route::get('/customer/appointment/details/{id}/{type}', [AgentController::class, 'appointment_view_details'])->name('customer.appointment.view_details'); });