作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

修改问题文档

@@ -303,10 +303,10 @@ class Order extends Frontend @@ -303,10 +303,10 @@ class Order extends Frontend
303 } else { 303 } else {
304 $car_ids = explode(',',$car_ids); 304 $car_ids = explode(',',$car_ids);
305 $carModel = new \app\index\model\Car(); 305 $carModel = new \app\index\model\Car();
306 - $result = $carModel->whereIn('id',$car_ids)->delete(); 306 + /*$result = $carModel->whereIn('id',$car_ids)->delete();
307 if(empty($result)){ 307 if(empty($result)){
308 $this->error('sql执行失败'); 308 $this->error('sql执行失败');
309 - } 309 + }*/
310 } 310 }
311 $goodsModel = new \app\index\model\Goods(); 311 $goodsModel = new \app\index\model\Goods();
312 $store_ids = []; 312 $store_ids = [];