From 821909b39032b2270bc81c77238268f004ffba90 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 8 Mar 2024 09:33:13 -0500 Subject: [PATCH] apigate --- www-api/app/Config/Routes.php | 2 +- www-api/app/Controllers/WrenchWallet.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index 53d15361..39554140 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -119,7 +119,7 @@ $routes->post('/en/wrench/api/v1/familywallet', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familywallet/redeem', 'WrenchWallet::apigate'); $routes->post('/en/wrench/api/v1/familywallet/redeem/options', 'WrenchWallet::apigate'); -$routes->get('/en/wrench/api/v1/familywallet/redeem/options', 'WrenchWallet::apigate'); +//$routes->get('/en/wrench/api/v1/familywallet/redeem/options', 'WrenchWallet::apigate'); diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php index c3349a16..b5fa3685 100644 --- a/www-api/app/Controllers/WrenchWallet.php +++ b/www-api/app/Controllers/WrenchWallet.php @@ -5,7 +5,7 @@ namespace App\Controllers; class WrenchWallet extends BaseController { - public function aigate(){ + public function apigate(){ return ['aaa'=>'bbbbb']; }