Authored by Rock Zhang

修复new和sale页面图片会有白边的bug

Code Review By Rock Zhang
... ... @@ -43,7 +43,7 @@ class NewSaleProcess
// 处理商品
if (isset($products['product_list'])) {
foreach ($products['product_list'] as $single) {
$result['goods'][] = Helpers::formatProduct($single, true, false, false, 290, 388);
$result['goods'][] = Helpers::formatProduct($single, true, false, false, 235, 314);
}
}
... ...
... ... @@ -219,7 +219,7 @@ class NewsaleModel
if (isset($data['code']) && $data['code'] === 200 && isset($data['data']['product_list'])) {
foreach ($data['data']['product_list'] as $val) {
$result['goods'][] = Helpers::formatProduct($val, true, false, false, 299, 388);
$result['goods'][] = Helpers::formatProduct($val, true, false, false, 235, 314);
}
}
... ...