作者 王智

222

... ... @@ -131,6 +131,8 @@ class ShopCar extends Api
}
}
$arr = Db::name('shopcar')->where(['user_id' => $user_id])->select();
print_r($arr);
die;
foreach ($arr as $k => $v) {
$list[$k] = $this->CalculateCommodityAmount($v['product_id'], $v['id'], $v['buy_num']);
}
... ...