|
...
|
...
|
@@ -139,11 +139,14 @@ class IndexController extends BaseController |
|
|
|
$product_image = [];
|
|
|
|
foreach ($productList as $k => $v){
|
|
|
|
$image = [];
|
|
|
|
$image['title'] = $v['title'];
|
|
|
|
if(!empty($v['thumb']) && !empty($v['thumb']['url'])){
|
|
|
|
$image['image'] = getImageUrl($v['thumb']['url']);
|
|
|
|
$image['title'] = $v['title'];
|
|
|
|
$product_image[] = $image;
|
|
|
|
}
|
|
|
|
if(count($product_image) > 7){
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
$product_image[] = $image;
|
|
|
|
}
|
|
|
|
$data = [
|
|
|
|
'title'=>$keywordInfo['title'],
|
...
|
...
|
|