...
|
...
|
@@ -298,7 +298,12 @@ class FloorProcess |
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 640, 403);
|
|
|
unset($one['src']);
|
|
|
}
|
|
|
|
|
|
// 区别多张图与一张图
|
|
|
if (count($data['big_image']) > 1) {
|
|
|
$result['big_image']['list'] = $data['big_image'];
|
|
|
unset($data['big_image']);
|
|
|
}
|
|
|
|
|
|
foreach ($data['list'] as $kk => &$one) {
|
|
|
if ($kk == 0) {
|
...
|
...
|
@@ -318,8 +323,6 @@ class FloorProcess |
|
|
$data['title']['more_url'] = Helpers::getFilterUrl($data['title']['more_url']);
|
|
|
}
|
|
|
|
|
|
unset($data['big_image']);
|
|
|
|
|
|
$result['goodsCategory'] = $data;
|
|
|
|
|
|
return $result;
|
...
|
...
|
|