wesmiler 1 неделя назад
Родитель
Сommit
619e329bd6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/Http/Controllers/Api/v1/IndexController.php

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

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