banners options
This commit is contained in:
@@ -507,7 +507,8 @@ class ResultFormatter extends Model
|
|||||||
"total_record" => ($total - 1),
|
"total_record" => ($total - 1),
|
||||||
"internal_return" => $out["internal_return"],
|
"internal_return" => $out["internal_return"],
|
||||||
"result_list" => array(),
|
"result_list" => array(),
|
||||||
"categories" => $this->dummyCategory()
|
"categories" => $this->dummyCategory(),
|
||||||
|
"banners_options" => $this->dummyGetBanners()
|
||||||
);
|
);
|
||||||
for ($i = 0; $i < $total; $i++) {
|
for ($i = 0; $i < $total; $i++) {
|
||||||
$key = sprintf("%05d", $i);
|
$key = sprintf("%05d", $i);
|
||||||
@@ -849,6 +850,17 @@ class ResultFormatter extends Model
|
|||||||
'CT4'=>'Others',
|
'CT4'=>'Others',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function dummyGetBanners(){
|
||||||
|
return [
|
||||||
|
['default.jpg','https://www.wrenchboard.com/assets/images/apps/jobs/defualt.jpg'],
|
||||||
|
['clean-closet.jpg','https://www.wrenchboard.com/assets/images/apps/jobs/clean-closet.jpg'],
|
||||||
|
['kid-book.jpg','https://www.wrenchboard.com/assets/images/apps/jobs/kid-book.jpg'],
|
||||||
|
['kid-coffee.jpg','https://www.wrenchboard.com/assets/images/apps/jobs/kid-coffee.jpg'],
|
||||||
|
['kid-dishes.jpg','https://www.wrenchboard.com/assets/images/apps/jobs/kid-dishes.jpg'],
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
public function getBlogData(){
|
public function getBlogData(){
|
||||||
return [
|
return [
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user