Play ground data

This commit is contained in:
CHIEFSOFT\ameye
2024-07-14 13:18:59 -04:00
parent 341a0165f6
commit 68045b2248
2 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ class WrenchAuth extends BaseController
}
log_message('critical', "************************ qrlogin 0001 ".$in['member_uid']);
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret;
log_message('critical', "***** ***** WrenchAuth::userLogin Ret = ".$ret );
+16 -2
View File
@@ -185,12 +185,26 @@ class WrenchPlayGround extends BaseController
private function apiFeaturedData() {
$data=[];
$total = 3;
$data["item"][] = array(
"banner" => "I have no idea",
"media" => "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
"title" => "Big Duck Bunny Animation",
"description" => "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. <br> When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.",
);
$data["item"][] = array(
"banner" => "I have no idea",
"media" => "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",
"title" => "Elephant Dream",
"description" => "The first Blender Open Movie from 2006",
);
$total = 1;
for ($i = 0; $i < $total; $i++) {
$key = sprintf("%05d", $i);
$data["item"][] = array(
"banner" => "I have no idea",
"media" => "https://dev-media.wrenchboard.com/videos/c35c32bc-9ce4-4ca5-9afc-1ecddfd649f5",
"media" => "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
"title" => "This Featured dummy text ".$key,
"description" => "Random gibberish text to use in web pages, site templates and in typography demos. Get rid of Lorem Ipsum forever. A tool for web designers who want to save time. ".$key,
);