diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index 5ae0e1ed..adb6b044 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -117,6 +117,7 @@ $routes->post('/en/wrench/api/v1/familylist', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familywallet', 'WrenchApi::apigate'); +$routes->post('/en/wrench/api/v1/familybanners', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familyrewardhx', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familytransferstart', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familytransfer', 'WrenchApi::apigate'); diff --git a/www-api/app/Controllers/BaseController.php b/www-api/app/Controllers/BaseController.php index de9b4e74..882ba5db 100644 --- a/www-api/app/Controllers/BaseController.php +++ b/www-api/app/Controllers/BaseController.php @@ -205,6 +205,7 @@ abstract class BaseController extends Controller 'familywallet' => ['POST'], 'familytransferstart' => ['POST'], 'familyrewardhx' => ['POST'], + 'familybanners' => ['POST'], 'familytransfer' => ['POST'], 'familyadd' => ['POST'], 'familyupdate' => ['POST'], diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 54f9afc8..f2f5709d 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -164,6 +164,9 @@ class WrenchApi extends BaseController case 'familytransfer': $in['action'] = WRENCHBOARD_FAMILY_TRANSFER; break; + case 'familybanners': + + break; case 'familyrewardhx': $in['action'] = WRENCHBOARD_FAMILY_TRANSFERHX;