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']; }