Relatives routes

This commit is contained in:
CHIEFSOFT\ameye
2024-07-22 12:04:33 -04:00
parent ed50382e8b
commit 299719c464
2 changed files with 24 additions and 0 deletions
+5
View File
@@ -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');
+19
View File
@@ -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');