Relatives routes
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user