wesmiler 1 tydzień temu
rodzic
commit
619e329bd6

+ 1 - 0
app/Http/Controllers/Api/v1/IndexController.php

@@ -76,6 +76,7 @@ class IndexController extends webApp
                 // 轮播
                 // 轮播
                 'banners' => AdService::make()->getListByPosition(1),
                 'banners' => AdService::make()->getListByPosition(1),
                 'goods' => GoodsService::make()->getListByType(2, $buyType, $this->userId),
                 'goods' => GoodsService::make()->getListByType(2, $buyType, $this->userId),
+                'user_id'=> $this->userId,
                 'areaId'=> $areaId,
                 'areaId'=> $areaId,
                 'buyType'=> $buyType,
                 'buyType'=> $buyType,
             ];
             ];