作者 郭文星

1231

... ... @@ -97,6 +97,8 @@ class Car extends Base
*/
public function createorder()
{
$user_id = $this->auth;
return $this->success("添加成功", $user_id);
$number = $this->request->param("number");//乘车人数
$phone = $this->request->param("phone");//联系手机号码
$starting_point = $this->request->param("starting_point");//出发位置
... ... @@ -251,8 +253,6 @@ class Car extends Base
*/
public function updatepassenger()
{
$user_id = $this->auth;
return $this->success("添加成功", $user_id);
$name = $this->request->param("name");
$IDcard = $this->request->param("IDcard");
$phone = $this->request->param("phone");
... ...