...
|
...
|
@@ -231,6 +231,7 @@ class Car extends Base |
|
|
$phone = $this->request->param("phone");
|
|
|
$is_adult = $this->request->param("is_adult");
|
|
|
$user_id = $this->auth->id;
|
|
|
return $this->success("添加成功", $user_id);
|
|
|
if(!$user_id){
|
|
|
$this->error("添加失败,token失效。".$this->auth->id);
|
|
|
}
|
...
|
...
|
@@ -250,9 +251,6 @@ class Car extends Base |
|
|
*/
|
|
|
public function updatepassenger()
|
|
|
{
|
|
|
$user_id = $this->auth->id;
|
|
|
print_r($user_id);return;
|
|
|
|
|
|
$name = $this->request->param("name");
|
|
|
$IDcard = $this->request->param("IDcard");
|
|
|
$phone = $this->request->param("phone");
|
...
|
...
|
|