...
|
...
|
@@ -56,6 +56,7 @@ class Order extends Frontend |
|
|
}*/
|
|
|
$car_model = new \app\index\model\Car();
|
|
|
$data = $car_model->field('id,store_id,goods_id,number')->whereIn('id',$car_data)->select();
|
|
|
dump($data);
|
|
|
if(!$data) {
|
|
|
// 如果不在购物车则为立即购买
|
|
|
$data[] = [
|
...
|
...
|
|