作者 郭文星

123

@@ -431,7 +431,7 @@ class Car extends Base @@ -431,7 +431,7 @@ class Car extends Base
431 public function connect_order() 431 public function connect_order()
432 { 432 {
433 $id = $this->request->param("id"); 433 $id = $this->request->param("id");
434 - $order = Db::name("order_review")->where("id", $id)->find(); 434 + $order = Db::name("order")->where("id", $id)->find();
435 if ($order['order_status'] == 1) { 435 if ($order['order_status'] == 1) {
436 $order = Db::name("order")->where("id", $id)->update(['order_status' => 2]); 436 $order = Db::name("order")->where("id", $id)->update(['order_status' => 2]);
437 return $this->success("请求成功"); 437 return $this->success("请求成功");