Explorar el Código

Merge branch 'dev'

zhangdehua hace 8 meses
padre
commit
98909ffbf3
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/index/controller/Index.php

+ 2 - 2
app/index/controller/Index.php

@@ -46,8 +46,8 @@ class Index extends Controller
         } else {
             //商品区。new,video,bestseller
             $model = new GoodsModel;
-            $newArrival = $model->getList(['listType' => 'on_sale'], 5)->toArray()['data'];
-            $bestseller = $model->getList(['sortType' => 'sales'], 5)->toArray()['data'];
+            $newArrival = $model->getList(['listType' => 'on_sale'], 8)->toArray()['data'];
+            $bestseller = $model->getList(['sortType' => 'sales'], 8)->toArray()['data'];
 
             //$superDeals = $model->getList(['categoryId' => '10002',], 8)->toArray()['data'];
             $superDeals = $bestseller;