Browse Source

fixed

master
weigang 5 years ago
parent
commit
ace050769b
  1. 2
      app/Controller/v3/GoodsRecommendController.php
  2. 2
      app/Controller/v3/HomeController.php

2
app/Controller/v3/GoodsRecommendController.php

@ -65,7 +65,7 @@ class GoodsRecommendController extends BaseController
$goods = Goods::query()
->with(['store'])
->inRandomOrder()
->limit(2)
->limit(20)
->get()->toArray();
return $this->success(['has_more_pages' => false, 'tab_data' => $goods]);
}

2
app/Controller/v3/HomeController.php

@ -149,7 +149,7 @@ class HomeController extends BaseController
public function storeIndex()
{
$data['detail'] = $this->storeInfoService->detail(1);
$data['detail'] = $this->storeService->detail(1);
$data['order_online'] = [
'count' => 6549,
'total' => 12654.12

Loading…
Cancel
Save