One Hat Cyber Team
Your IP :
18.220.193.90
Server IP :
103.133.214.160
Server :
Linux venus.ewebguru.net 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
Apache/2
PHP Version :
8.1.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
praval
/
public_html
/
active-ecommerce
/
routes
/
View File Name :
seller_package.php
<?php /* |-------------------------------------------------------------------------- | Affiliate Routes |-------------------------------------------------------------------------- | | Here is where you can register admin routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ use App\Http\Controllers\SellerPackageController; //Admin Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::resource('seller_packages', SellerPackageController::class); Route::controller(SellerPackageController::class)->group(function () { Route::get('/seller_packages/edit/{id}', 'edit')->name('seller_packages.edit'); Route::get('/seller_packages/destroy/{id}', 'destroy')->name('seller_packages.destroy'); }); }); //FrontEnd Route::group(['middleware' => ['seller']], function(){ Route::controller(SellerPackageController::class)->group(function () { Route::get('/seller/seller-packages', 'seller_packages_list')->name('seller.seller_packages_list'); Route::get('/seller/packages-payment-list', 'packages_payment_list')->name('seller.packages_payment_list'); Route::post('/seller_packages/purchase', 'purchase_package')->name('seller_packages.purchase'); }); }); Route::get('/seller_packages/check_for_invalid', [SellerPackageController::class, 'unpublish_products'])->name('seller_packages.unpublish_products');