作者 何书鹏

bug修改

@@ -760,7 +760,7 @@ class Order extends Api @@ -760,7 +760,7 @@ class Order extends Api
760 } 760 }
761 761
762 $ordermodel = new \app\api\model\Order(); 762 $ordermodel = new \app\api\model\Order();
763 - $ordermodel->whereIn('id',$orderids)->isUpdate()->save(['order_status'=>'30']); 763 + $ordermodel->whereIn('id',$orderids)->update(['order_status'=>'30']);
764 $commentmodel = new GoodsComment(); 764 $commentmodel = new GoodsComment();
765 $commentmodel->isUpdate(false)->saveAll($params); 765 $commentmodel->isUpdate(false)->saveAll($params);
766 $this->success('评价成功'); 766 $this->success('评价成功');