From 90ff12c5474fd3c7f4bb9cdbbcd6084b1cf87f86 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 18 Aug 2024 22:09:42 -0400 Subject: [PATCH] random quetion --- www-api/app/Controllers/WrenchResources.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchResources.php b/www-api/app/Controllers/WrenchResources.php index f4518b86..c2ba425c 100644 --- a/www-api/app/Controllers/WrenchResources.php +++ b/www-api/app/Controllers/WrenchResources.php @@ -15,8 +15,8 @@ class WrenchResources extends BaseController $in = json_decode($raw_json, true); $next_question = [ - "question" => 'This is the question', - "option" => ['aaaaaaa', 'bbbbbbbbb', 'cccccccc'], + "question" => 'This is the question - '. rand(1000,9999), + "option" => ['aaaaaaa '. rand(1000,9999), 'bbbbbbbbb '. rand(1000,9999), 'cccccccc '. rand(1000,9999)], "answer" => 'bbbbbb', "last" => false, "points" => 10