正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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("请求成功"); |
-
请 注册 或 登录 后发表评论