@@ -36,12 +36,12 @@ class Info
{
if ($shop) {
$table = 'shop/goods';
+ $where['shop_id'] = $shop['id'];
} else {
$table = 'goods/info';
}
$method = 'getTop';
- $where['shop_id'] = $shop['id'];
if ($type == 1) {
$where['hot'] = 1;
} elseif ($type == 2) {