正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -97,6 +97,8 @@ class Car extends Base | @@ -97,6 +97,8 @@ class Car extends Base | ||
| 97 | */ | 97 | */ |
| 98 | public function createorder() | 98 | public function createorder() |
| 99 | { | 99 | { |
| 100 | + $user_id = $this->auth; | ||
| 101 | + return $this->success("添加成功", $user_id); | ||
| 100 | $number = $this->request->param("number");//乘车人数 | 102 | $number = $this->request->param("number");//乘车人数 |
| 101 | $phone = $this->request->param("phone");//联系手机号码 | 103 | $phone = $this->request->param("phone");//联系手机号码 |
| 102 | $starting_point = $this->request->param("starting_point");//出发位置 | 104 | $starting_point = $this->request->param("starting_point");//出发位置 |
| @@ -251,8 +253,6 @@ class Car extends Base | @@ -251,8 +253,6 @@ class Car extends Base | ||
| 251 | */ | 253 | */ |
| 252 | public function updatepassenger() | 254 | public function updatepassenger() |
| 253 | { | 255 | { |
| 254 | - $user_id = $this->auth; | ||
| 255 | - return $this->success("添加成功", $user_id); | ||
| 256 | $name = $this->request->param("name"); | 256 | $name = $this->request->param("name"); |
| 257 | $IDcard = $this->request->param("IDcard"); | 257 | $IDcard = $this->request->param("IDcard"); |
| 258 | $phone = $this->request->param("phone"); | 258 | $phone = $this->request->param("phone"); |
-
请 注册 或 登录 后发表评论