diff --git a/www-api/app/Config/RoutesV1.php b/www-api/app/Config/RoutesV1.php index d0e3d88e..c5f0ab09 100644 --- a/www-api/app/Config/RoutesV1.php +++ b/www-api/app/Config/RoutesV1.php @@ -112,6 +112,11 @@ $routes->post('/en/wrench/api/v1/commonmedia', 'WrenchResources::commonme $routes->post('/en/wrench/api/v1/familybanners', 'WrenchFamily::familyBanners'); $routes->post('/en/wrench/api/v1/familysampletasks', 'WrenchFamily::familySampleTasks'); +$routes->post('/en/wrench/api/v1/relativeeditkids', 'WrenchFamily::relativeEditKids'); +$routes->post('/en/wrench/api/v1/relativesettings', 'WrenchFamily::relativeSettings'); +$routes->post('/en/wrench/api/v1/relativereminder', 'WrenchFamily::relativeReminder'); + + $routes->post('/en/wrench/api/v1/familyrewardhx', 'WrenchApi::apigate'); $routes->post('/en/wrench/api/v1/familytransferstart', 'WrenchApi::apigate'); diff --git a/www-api/app/Controllers/WrenchFamily.php b/www-api/app/Controllers/WrenchFamily.php index 8d38b871..c0f694bb 100644 --- a/www-api/app/Controllers/WrenchFamily.php +++ b/www-api/app/Controllers/WrenchFamily.php @@ -14,6 +14,25 @@ class WrenchFamily extends BaseController return []; } + public function relativeEditKids(){ + $raw_json = file_get_contents('php://input'); + $in = json_decode($raw_json, true); + $out =[]; + return $this->summaryReturnData($in,$out); + } + public function relativeSettings(){ + $raw_json = file_get_contents('php://input'); + $in = json_decode($raw_json, true); + $out =[]; + return $this->summaryReturnData($in,$out); + } + public function relativeReminder(){ + $raw_json = file_get_contents('php://input'); + $in = json_decode($raw_json, true); + $out =[]; + return $this->summaryReturnData($in,$out); + } + public function familyBanners(){ $raw_json = file_get_contents('php://input');