Showing
1 changed file
with
5 additions
and
1 deletions
@@ -277,7 +277,11 @@ class ShopProcess | @@ -277,7 +277,11 @@ class ShopProcess | ||
277 | if (!empty($data)) { | 277 | if (!empty($data)) { |
278 | self::$shopData['hotCategory']['name'] = '热门品类'; | 278 | self::$shopData['hotCategory']['name'] = '热门品类'; |
279 | foreach ($data as $cate) { | 279 | foreach ($data as $cate) { |
280 | - self::$shopData['hotCategory']['list'][] = array('url' => $cate['url'], 'img' => str_replace('http:', '', $cate['src'])); | 280 | + self::$shopData['hotCategory']['list'][] = array( |
281 | + 'url' => $cate['url'], | ||
282 | + 'img' => str_replace('http:', '', $cate['src']), | ||
283 | + 'name' => $cate['name'] // tar add 160824 热门分类的名称 | ||
284 | + ); | ||
281 | } | 285 | } |
282 | } | 286 | } |
283 | } | 287 | } |
-
Please register or login to post a comment