@@ -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,
];