Showing
4 changed files
with
3 additions
and
4 deletions
@@ -54,7 +54,7 @@ class HelperHome | @@ -54,7 +54,7 @@ class HelperHome | ||
54 | 54 | ||
55 | // 强制对图片进行切图规则处理 redmine:12390 | 55 | // 强制对图片进行切图规则处理 redmine:12390 |
56 | if (strpos($img, 'imageView')) { | 56 | if (strpos($img, 'imageView')) { |
57 | - $img = strstr($img, 'imageView', true) . 'imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center/quality/70'; | 57 | + $img = strstr($img, 'imageView', true) . 'imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center/quality/90'; |
58 | } | 58 | } |
59 | 59 | ||
60 | $result[] = array( | 60 | $result[] = array( |
@@ -86,7 +86,6 @@ class IndexModel | @@ -86,7 +86,6 @@ class IndexModel | ||
86 | public static function preferenceData($channel, $uid, $udid, $recPos, $limit) | 86 | public static function preferenceData($channel, $uid, $udid, $recPos, $limit) |
87 | { | 87 | { |
88 | $response = UserData::newPreference($channel, $uid, $udid, $recPos, $limit); | 88 | $response = UserData::newPreference($channel, $uid, $udid, $recPos, $limit); |
89 | - | ||
90 | if ($response['code'] === 200) { | 89 | if ($response['code'] === 200) { |
91 | return HelperHome::formatNew($response['data']['product_list']); | 90 | return HelperHome::formatNew($response['data']['product_list']); |
92 | } else { | 91 | } else { |
@@ -57,7 +57,7 @@ class OrderModel | @@ -57,7 +57,7 @@ class OrderModel | ||
57 | $refundFlag = array(); | 57 | $refundFlag = array(); |
58 | foreach ($orderV['order_goods'] as $gokey => $goval) { | 58 | foreach ($orderV['order_goods'] as $gokey => $goval) { |
59 | $goods[$gokey]['href'] = Helpers::getUrlBySkc($goval['product_id'], $goval['goods_id'], $goval['cn_alphabet']); | 59 | $goods[$gokey]['href'] = Helpers::getUrlBySkc($goval['product_id'], $goval['goods_id'], $goval['cn_alphabet']); |
60 | - $goods[$gokey]['thumb'] = (isset($goval['goods_image']) && $goval['goods_image']) ? Images::getImageUrl($goval['goods_image'], 100, 100) : ''; | 60 | + $goods[$gokey]['thumb'] = (isset($goval['goods_image']) && $goval['goods_image']) ? str_replace('quality/80', 'quality/90', Images::getImageUrl($goval['goods_image'], 100, 100)) : ''; |
61 | $goods[$gokey]['name'] = $goval['product_name']; | 61 | $goods[$gokey]['name'] = $goval['product_name']; |
62 | $goods[$gokey]['color'] = $goval['color_name']; | 62 | $goods[$gokey]['color'] = $goval['color_name']; |
63 | $goods[$gokey]['size'] = ($goval['product_skn'] * 1 === EXHIBITION_TICKET) ? '' : $goval['size_name']; | 63 | $goods[$gokey]['size'] = ($goval['product_skn'] * 1 === EXHIBITION_TICKET) ? '' : $goval['size_name']; |
@@ -664,7 +664,7 @@ class CartModel | @@ -664,7 +664,7 @@ class CartModel | ||
664 | } | 664 | } |
665 | break; | 665 | break; |
666 | } | 666 | } |
667 | - $build['img'] .= '?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center/quality/80'; | 667 | + $build['img'] .= '?imageMogr2/thumbnail/100x100/extent/100x100/background/d2hpdGU=/position/center/quality/90'; |
668 | $build['href'] = Helpers::url('/product/pro_' . $value['product_id'] . '_' . $goodsId . '/' . $value['cn_alphabet'] . '.html', null, 'item'); | 668 | $build['href'] = Helpers::url('/product/pro_' . $value['product_id'] . '_' . $goodsId . '/' . $value['cn_alphabet'] . '.html', null, 'item'); |
669 | 669 | ||
670 | $result['data']['item'][] = $build; | 670 | $result['data']['item'][] = $build; |
-
Please register or login to post a comment