From 0e71a84c899aa3b296ae645bc84ad89b1aa2bd9d Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Thu, 17 Oct 2024 12:58:35 -0400 Subject: [PATCH] New Resources --- www-api/app/Config/RoutesV1.php | 4 ++++ www-api/app/Controllers/WrenchGetResources.php | 3 +++ www-api/app/Controllers/WrenchWallet.php | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/www-api/app/Config/RoutesV1.php b/www-api/app/Config/RoutesV1.php index 482570a1..d825a45f 100644 --- a/www-api/app/Config/RoutesV1.php +++ b/www-api/app/Config/RoutesV1.php @@ -177,6 +177,10 @@ $routes->post('/en/wrench/api/v1/sitecontact', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/signupcountry', 'WrenchGeneralData::signUpCountry'); $routes->post('/en/wrench/api/v1/userscards', 'WrenchApi::apigate'); +$routes->post('/en/wrench/api/v1/countrystate', 'WrenchResources::getCountryStates'); + + + $routes->post('/en/wrench/api/v1/couponhx', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/couponpending', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/couponredeem', 'WrenchApi::apigate'); diff --git a/www-api/app/Controllers/WrenchGetResources.php b/www-api/app/Controllers/WrenchGetResources.php index 1ab1e7a1..e3707763 100644 --- a/www-api/app/Controllers/WrenchGetResources.php +++ b/www-api/app/Controllers/WrenchGetResources.php @@ -25,4 +25,7 @@ class WrenchGetResources extends BaseController return []; } + + + } \ No newline at end of file diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index 5b4173c6..dc089876 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -328,7 +328,7 @@ class WrenchWallet extends BaseController "processor" => 9014, "current_balance" => 0, "transfer_limit" => 0, - "wallet_uid" => "", + "wallet_uid" => "", "escrow" => 0, "show_balance" => true, "rt_action_text" => "Redeem",