|
@@ -131,6 +131,7 @@ class IndexController extends webApp
|
|
|
$params['user_id'] = $this->userId;
|
|
$params['user_id'] = $this->userId;
|
|
|
$data['stores'] = StoreService::make()->getGoodsList($params);
|
|
$data['stores'] = StoreService::make()->getGoodsList($params);
|
|
|
$data['social_open'] = ConfigService::make()->getConfigByCode('social_open', 0);
|
|
$data['social_open'] = ConfigService::make()->getConfigByCode('social_open', 0);
|
|
|
|
|
+ $data['cart_count'] = CartService::make()->getCount($this->userId);
|
|
|
$data['pay_recharge_open'] = ConfigService::make()->getConfigByCode('pay_recharge_open', 0);
|
|
$data['pay_recharge_open'] = ConfigService::make()->getConfigByCode('pay_recharge_open', 0);
|
|
|
}
|
|
}
|
|
|
|
|
|