One Hat Cyber Team
Your IP :
3.23.102.79
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
/
Edit File:
club_points.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! | */ //Admin use App\Http\Controllers\ClubPointController; Route::group(['prefix' =>'admin', 'middleware' => ['auth', 'admin']], function(){ Route::controller(ClubPointController::class)->group(function () { Route::get('club-points/configuration', 'configure_index')->name('club_points.configs'); Route::get('club-points/index', 'index')->name('club_points.index'); Route::get('set-club-points', 'set_point')->name('set_product_points'); Route::post('set-club-points/store', 'set_products_point')->name('set_products_point.store'); Route::post('set-club-points-for-all_products/store', 'set_all_products_point')->name('set_all_products_point.store'); Route::get('set-club-points/{id}', 'set_point_edit')->name('product_club_point.edit'); Route::get('club-point-details/{id}', 'club_point_detail')->name('club_point.details'); Route::post('set-club-points/update/{id}', 'update_product_point')->name('product_point.update'); Route::post('club-point-convert-rate/store', 'convert_rate_store')->name('point_convert_rate_store'); }); }); //FrontEnd Route::group(['middleware' => ['user', 'verified']], function(){ Route::controller(ClubPointController::class)->group(function () { Route::get('earning-points', 'userpoint_index')->name('earnng_point_for_user'); Route::post('convert-point-into-wallet', 'convert_point_into_wallet')->name('convert_point_into_wallet'); }); });
Simpan