作者 郭文星

123

... ... @@ -435,8 +435,11 @@ class Car extends Base
if ($order['order_status'] == 1) {
$order = Db::name("order")->where("id", $id)->update(['order_status' => 2]);
return $this->success("请求成功");
} else {
} else if ($order['order_status'] == 1) {
return $this->error("请求失败,已开始接送用户");
}else{
return $this->error("请求失败");
}
}
... ...