Play ground data
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user