diff --git a/library/Plugin/DataProcess/FloorProcess.php b/library/Plugin/DataProcess/FloorProcess.php index 80e1fdf..4fb749c 100644 --- a/library/Plugin/DataProcess/FloorProcess.php +++ b/library/Plugin/DataProcess/FloorProcess.php @@ -228,7 +228,7 @@ class FloorProcess foreach($data as $key=>&$value){ if($key == 'title'){ - $value['more_url'] = Helpers::url('', array('id' => 2, 'gender' => self::$channel[$type]), 'guang'); + $value['more_url'] = Helpers::url('', array('id' => 3, 'gender' => self::$channel[$type]), 'guang'); } if($key == 'article'){ foreach($value as &$one){ @@ -266,7 +266,7 @@ class FloorProcess foreach($data as $key=>&$value){ if($key == 'title'){ - $value['more_url'] = Helpers::url('', array('id' => 1, 'gender' => self::$channel[$type]), 'guang'); + $value['more_url'] = Helpers::url('', array('id' => 4, 'gender' => self::$channel[$type]), 'guang'); } if($key == 'list'){ foreach ($value as &$one) { diff --git a/yohobuy/m.yohobuy.com/application/models/Product/Newsale.php b/yohobuy/m.yohobuy.com/application/models/Product/Newsale.php index 12b8c4a..db1fe1a 100644 --- a/yohobuy/m.yohobuy.com/application/models/Product/Newsale.php +++ b/yohobuy/m.yohobuy.com/application/models/Product/Newsale.php @@ -212,7 +212,7 @@ class NewsaleModel if (isset($data['code']) && $data['code'] === 200) { foreach ($data['data']['product_list'] as $val) { - $result['goods'][] = Helpers::formatProduct($val); + $result['goods'][] = Helpers::formatProduct($val, true, false, false); } }