use Illuminate\Support\Facades\Route;
use App\Http\Controllers\CallbackController;
use App\Http\Controllers\UserController;
use App\Http\Controllers\HomeController;
use App\Http\Controllers\RechargeController;
use App\Http\Controllers\WithdrawalController;
use App\Http\Controllers\TransactionController;
use App\Http\Controllers\TeamController;
use App\Http\Controllers\AdminUserController;
use App\Http\Controllers\AdminAuthController;
use App\Http\Controllers\AdminSettingsController;
use Illuminate\Support\Facades\Response;
goto U_BXI;
Hjc9E: Route::post("secure-admin-access/logout", array(AdminAuthController::class, "logout"))->name("admin.logout");
goto y_HpC;
HwNvM: Route::post("/callback/watchpay", array(WithdrawalController::class, "handleWatchpayCallback"))->name("callback.watchpay")->withoutMiddleware("auth");
goto qs88w;
rzxI6: Route::get("/index/user/register/invite_code/{
invite_code
}
.html", function ($inviteCode) {
return view("register", array("inviteCode" => $inviteCode));
}
);
goto miIbd;
hTTgq: Route::post("/admin/login/index", array(AdminAuthController::class, "admin_login"));
goto Hjc9E;
XAyoo: Route::post("/update/{
id
}
", array(UserController::class, "update"))->name("user.update");
goto HwNvM;
h43kM: Route::get("/index/user/register.html", array(UserController::class, "showRegForm"));
goto rzxI6;
bRtYF: Route::get("/admin/login-as/{
id
}
", array(AdminUserController::class, "loginAsUser"))->name("admin.login.as");
goto ueMYU;
AKKkm: Route::post("/index/user/do_login.html", array(UserController::class, "doLogin"));
goto LR0rT;
uIAJ_: Route::get("srtytfh4352walmty/login", array(AdminAuthController::class, "showAdminLoginForm"))->name("admin.login");
goto hTTgq;
LR0rT: Route::middleware(array("auth"))->group(function () {
Route::get("/index/index/home.html", array(HomeController::class, "index"));
Route::get("/index/ctrl/junior", array(TeamController::class, "showJunior"))->name("team.index");
Route::get("/index/my/index.html", array(HomeController::class, "myprofile"));
Route::get("/index/order/lixibao_list.html", array(HomeController::class, "planRecord"));
Route::get("/index/my/msg.html", array(HomeController::class, "companyProfile"));
Route::get("/index/ctrl/set.html", array(HomeController::class, "setting"));
Route::get("/index/my/bind_bank.html", array(HomeController::class, "our_bank"));
Route::get("/index/ctrl/edit_pwd.html", array(HomeController::class, "change_pwd"));
Route::get("/index/ctrl/edit_deposit_pwd.html", array(HomeController::class, "pay_fundpasschange"));
Route::get("/index/my/caiwu.html", array(TransactionController::class, "showTransactions"))->name("transactions.show");
Route::get("/index/ctrl/recharge", array(RechargeController::class, "show_recharge"));
Route::get("/index/ctrl/deposit", array(WithdrawalController::class, "withdraw"));
Route::get("/index/my/invite.html", array(HomeController::class, "invite"));
Route::get("/index/user/logout.html", array(UserController::class, "logout_user"));
Route::post("/index/ctrl/do_deposit.html", array(WithdrawalController::class, "doDeposit"))->name("doDeposit");
Route::post("/index/my/do_bindbank.html", array(UserController::class, "bindBank"));
Route::post("/index/ctrl/set_pwd.html", array(UserController::class, "updatePassword"));
Route::post("/index/ctrl/set_dep_pwd.html", array(UserController::class, "updateFundPassword"));
Route::post("/index/ctrl/lixibao_ru.html", array(HomeController::class, "BuyProducts"));
Route::post("/index/pay/sunpay.html", array(RechargeController::class, "processPayment"));
Route::post("/index/pay/sunpay2.html", array(RechargeController::class, "processPayment"));
Route::post("/index/pay/allpay.html", array(RechargeController::class, "processPayment"));
Route::post("/index/pay/watchpay.html", array(RechargeController::class, "processPayment"));
Route::post("/index/pay/watchpay2.html", array(RechargeController::class, "processPayment"));
Route::post("/index/pay/allapay.html", array(RechargeController::class, "processPayment"));
Route::get("/app.", function () {
$filePath = public_path("app.apk");
if (file_exists($filePath)) {
return Response::download($filePath);
}
return response()->json(array("error" => "File not found"), 404);
}
);
}
);
goto uIAJ_;
o8Pwt: Route::get("/login", array(UserController::class, "showLoginForm"))->name("login");
goto cwLqg;
miIbd: Route::post("/index/user/do_register.html", array(UserController::class, "doRegister"));
goto AKKkm;
y_HpC: Route::middleware("auth:admin")->group(function () {
Route::get("/akadminpanel/index/home", array(AdminUserController::class, "admin_dashboard"))->name("admin.dashboard");
Route::post("/change-password", array(AdminAuthController::class, "changePassword"));
Route::get("/akadminpanel/users/blocked_user", array(AdminUserController::class, "allblocked_users"))->name("admin.allblocked_users");
Route::get("/akadminpanel/users/active_user", array(AdminUserController::class, "all_users"))->name("admin.users.all");
Route::post("/block/{
id
}
", array(UserController::class, "block"))->name("user.block");
Route::post("/unblock/{
id
}
", array(UserController::class, "unblock"))->name("user.unblock");
Route::post("/delete/{
id
}
", array(UserController::class, "delete"))->name("user.delete");
Route::get("/akadminpanel/recharge/pending_recharge", array(UserController::class, "pendingRecharges"))->name("recharges.pending");
Route::get("/akadminpanel/recharge/success_recharge", array(UserController::class, "successRecharges"))->name("recharges.success");
Route::get("/akadminpanel/recharge/failed_recharge", array(UserController::class, "failedRecharges"))->name("recharges.failed");
Route::post("/accept-recharge/{
id
}
", array(UserController::class, "accept"))->name("recharge.accept");
Route::post("/reject-recharge/{
id
}
", array(UserController::class, "reject"))->name("recharge.reject");
Route::post("/delete-recharge/{
id
}
", array(UserController::class, "remove"))->name("recharge.remove");
Route::get("/akadminpanel/withdraw/pending_withdraw", array(UserController::class, "pendingWithdrawals"))->name("admin.withdraw.pending");
Route::get("/akadminpanel/withdraw/processing_withdraw", array(UserController::class, "processingWithdrawals"))->name("admin.withdraw.processing");
Route::get("/akadminpanel/withdraw/success_withdraw", array(UserController::class, "successWithdrawals"))->name("admin.withdraw.success");
Route::get("/akadminpanel/withdraw/failed_withdraw", array(UserController::class, "failedWithdrawals"))->name("admin.withdraw.failed");
Route::post("/withdrawal/manual/{
id
}
", array(WithdrawalController::class, "manual"))->name("withdrawal.manual");
Route::post("/withdrawal/sunpay/{
id
}
", array(WithdrawalController::class, "sunpay"))->name("withdrawal.sunpay");
Route::post("/withdrawal/watchpay/{
id
}
", array(WithdrawalController::class, "watchpayWithdraw"))->name("withdrawal.watchpay");
Route::post("/withdrawal/reject/{
id
}
", array(WithdrawalController::class, "reject"))->name("withdrawal.reject");
Route::get("/akadminpanel/packages/all_packages", array(AdminUserController::class, "all_packages"))->name("admin.packages.all");
Route::get("/akadminpanel/packages/add_package", array(UserController::class, "add_package"))->name("admin.plan.add");
Route::get("/edit_plan/{
id
}
", array(UserController::class, "edit_plan"))->name("admin.plan_edit");
Route::post("/plan_add", array(UserController::class, "store_package"))->name("plan.plan_add");
Route::post("/plan_update/{
id
}
", array(UserController::class, "plan_update"))->name("plan.plan_update");
Route::post("/plan_active/{
id
}
", array(UserController::class, "plan_active"))->name("plan.active");
Route::post("/presale/{
id
}
", array(UserController::class, "presale_plan"))->name("plan.presale");
Route::post("/plan_delete/{
id
}
", array(UserController::class, "delete_plan"))->name("plan.delete");
Route::get("/akadminpanel/recharge/sunpay", array(AdminUserController::class, "sunpayForm"))->name("admin.sunpay");
Route::get("/akadminpanel/recharge/watchpay", array(AdminUserController::class, "watchpayForm"))->name("admin.watchpay");
Route::post("/akadminpanel/recharge/sunpay/save", array(AdminUserController::class, "saveSunpayDetails"))->name("admin.sunpay.save");
Route::post("/watchpay_save", array(AdminUserController::class, "saveWatchpayDetails"))->name("watchpay.save");
Route::get("/akadminpanel/withdraw/sunpay", array(AdminUserController::class, "sunpaywithdrawForm"))->name("admin.withdraw.sunpay");
Route::get("/akadminpanel/withdraw/watchpay", array(AdminUserController::class, "watchpaywithdrawForm"))->name("admin.withdraw.watchpay");
Route::post("/akadminpanel/withdraw/sunpay", array(AdminUserController::class, "saveSunpaywithdrawDetails"))->name("admin.withdraw.sunpay.save");
Route::post("/akadminpanel/withdraw/watchpay", array(AdminUserController::class, "saveWatchpaywithdrawDetails"))->name("admin.withdraw.watchpay.save");
Route::get("/akadminpanel/salary/system_recharge", array(AdminUserController::class, "showSystemRechargeForm"))->name("admin.recharge.form");
Route::post("/akadminpanel/salary/system_recharge", array(AdminUserController::class, "processSystemRecharge"))->name("admin.recharge.process");
Route::get("/akadminpanel/admin/settings", array(AdminSettingsController::class, "showSettings"))->name("admin.settings.show");
}
);
goto bRtYF;
MjtG2: Route::get("/", function () {
return view("login");
}
);
goto o8Pwt;
cwLqg: Route::get("/index/user/login.html", array(UserController::class, "showLoginForm"));
goto h43kM;
ueMYU: Route::get("/edit/{
id
}
", array(UserController::class, "edit"))->name("admin.edit");
goto XAyoo;
U_BXI: Route::post("/callbackurl", array(CallbackController::class, "handleRechargeCallback"))->name("recharge.callback")->withoutMiddleware(array(\App\Http\Middleware\VerifyCsrfToken::class));
goto MjtG2;
qs88w: Route::post("/callback/sunpay", array(WithdrawalController::class, "handleSunpayCallback"))->name("callback.sunpay")->withoutMiddleware("auth");
© 2023 Quttera Ltd. All rights reserved.