$next_question

This commit is contained in:
CHIEFSOFT\ameye
2024-08-17 16:31:06 -04:00
parent 686305c00b
commit e51af19e0c
+4 -1
View File
@@ -14,13 +14,16 @@ class WrenchResources extends BaseController
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out = [
$next_question = [
"question" => 'This is the question',
"option" => ['aaaaa'=>'aaaaaaa', 'bbbbbb'=>'bbbbbbbbb', 'cccccc'=>'cccccccc'],
"answer" => 'bbbbbb',
"last" => false,
"points" => 10
];
$out = [
"next_question" => $next_question
];
log_message('critical', "***** ***** WrenchResources::generatives Ret ");
return $this->respond( $this->summaryReturnData($in,$out), 200);
}