@@ -469,6 +469,7 @@ class GoodsService extends BaseService
->where(['a.status' => 1, 'a.mark' => 1, 'b.status' => 1, 'b.mark' => 1])
->where('b.cost_price', '>', 0)
->where('a.num', '>', 0)
+ ->where('a.user_id', '=', $userId)
->select(['a.id as cart_id', 'b.goods_id', 'b.merch_id', 'b.goods_name', 'b.supply_type', 'b.main_img', 'b.cost_price', 'b.retail_price', 'b.limit_num', 'b.lowest_num', 'b.brand_name', 'a.num', 'a.sku_id'])
->orderBy('a.create_time', 'desc')
->limit($pageSize)