wesmiler 2 ay önce
ebeveyn
işleme
0aad9fe8ba

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

@@ -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);
             }
             }