From dec16a515953db4f029e0abac2babead6ba8c6fe Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 8 Mar 2024 07:52:34 -0500 Subject: [PATCH] family wallet redeem --- www-api/app/Config/Routes.php | 5 +++++ www-api/app/Controllers/WrenchWallet.php | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 www-api/app/Controllers/WrenchWallet.php diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index 657ead56..0e4c09c2 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -117,6 +117,11 @@ $routes->post('/en/wrench/api/v1/mypageintro', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familylist', 'WrenchApi::apigate'); $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->post('/en/wrench/api/v1/familyresources', 'WrenchResources::familyresources'); $routes->post('/en/wrench/api/v1/familybanners', 'WrenchBanners::apigate'); // class WrenchBanners WrenchApi diff --git a/www-api/app/Controllers/WrenchWallet.php b/www-api/app/Controllers/WrenchWallet.php new file mode 100644 index 00000000..c3349a16 --- /dev/null +++ b/www-api/app/Controllers/WrenchWallet.php @@ -0,0 +1,13 @@ +'bbbbb']; + } + +} \ No newline at end of file