...
|
...
|
@@ -231,7 +231,7 @@ class Car extends Base |
|
|
$phone = $this->request->param("phone");
|
|
|
$is_adult = $this->request->param("is_adult");
|
|
|
if(!$this->auth->id){
|
|
|
$this->error("添加失败");
|
|
|
$this->error("添加失败,token失效。");
|
|
|
}
|
|
|
$res = Db::name("passenger")->insert([
|
|
|
"name" => $name,
|
...
|
...
|
|