Merge branch 'release/4.4' of http://git.dev.yoho.cn/web/yohobuywap into release/4.4
Showing
1 changed file
with
1 additions
and
2 deletions
@@ -178,7 +178,6 @@ class ShopProcess | @@ -178,7 +178,6 @@ class ShopProcess | ||
178 | private static function hotProducts_APP($data) | 178 | private static function hotProducts_APP($data) |
179 | { | 179 | { |
180 | foreach ($data as $val) { | 180 | foreach ($data as $val) { |
181 | - | ||
182 | $goods = array( | 181 | $goods = array( |
183 | 'url' => Helpers::getUrlBySkc($val['productId'], $val['goodsId'], $val['cnAlphabet']), | 182 | 'url' => Helpers::getUrlBySkc($val['productId'], $val['goodsId'], $val['cnAlphabet']), |
184 | 'img' => Helpers::getImageUrl($val['src'], 235, 314), | 183 | 'img' => Helpers::getImageUrl($val['src'], 235, 314), |
@@ -187,7 +186,7 @@ class ShopProcess | @@ -187,7 +186,7 @@ class ShopProcess | ||
187 | 'presentPrice' => '¥'.$val['salesPrice'] | 186 | 'presentPrice' => '¥'.$val['salesPrice'] |
188 | ); | 187 | ); |
189 | if (!empty(self::$appVersion)) { | 188 | if (!empty(self::$appVersion)) { |
190 | - $goods['url'] .= '?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":' . $productData['product_skn'] . '}}'; | 189 | + $goods['url'] .= '?openby:yohobuy={"action":"go.productDetail","params":{"product_skn":' . $val['productSkn'] . '}}'; |
191 | } | 190 | } |
192 | self::$shopData['hotList'][] = $goods; | 191 | self::$shopData['hotList'][] = $goods; |
193 | } | 192 | } |
-
Please register or login to post a comment