family type
This commit is contained in:
@@ -646,9 +646,17 @@ class WrenchApi extends BaseController
|
||||
$final_out["server_tag"] = $server_tag;
|
||||
$final_out["language"] = "en";
|
||||
$final_out["ip_loc"] = $ip_loc;
|
||||
$final_out["family_types"] = this.familyTypes();
|
||||
//return json_encode( ( new \App\Models\ResultFormatter() )->processOutJson($in, $out));
|
||||
return json_encode( $final_out );
|
||||
}
|
||||
|
||||
private function familyTypes(){
|
||||
return [
|
||||
array("ty"=>"Parent", "id"=>"PARENT", "tag"=>"fam_type_parent"),
|
||||
array("ty"=>"Relatives", "id"=>"RELATIVES", "tag"=>"fam_type_relatives"),
|
||||
array("ty"=>"Others", "id"=>"Others", "tag"=>"fam_type_others")
|
||||
];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user