正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -231,7 +231,6 @@ class Car extends Base | @@ -231,7 +231,6 @@ class Car extends Base | ||
231 | $phone = $this->request->param("phone"); | 231 | $phone = $this->request->param("phone"); |
232 | $is_adult = $this->request->param("is_adult"); | 232 | $is_adult = $this->request->param("is_adult"); |
233 | $user_id = $this->auth->id; | 233 | $user_id = $this->auth->id; |
234 | - print_r($user_id);return; | ||
235 | if(!$user_id){ | 234 | if(!$user_id){ |
236 | $this->error("添加失败,token失效。".$this->auth->id); | 235 | $this->error("添加失败,token失效。".$this->auth->id); |
237 | } | 236 | } |
@@ -251,6 +250,9 @@ class Car extends Base | @@ -251,6 +250,9 @@ class Car extends Base | ||
251 | */ | 250 | */ |
252 | public function updatepassenger() | 251 | public function updatepassenger() |
253 | { | 252 | { |
253 | + $user_id = $this->auth->id; | ||
254 | + print_r($user_id);return; | ||
255 | + | ||
254 | $name = $this->request->param("name"); | 256 | $name = $this->request->param("name"); |
255 | $IDcard = $this->request->param("IDcard"); | 257 | $IDcard = $this->request->param("IDcard"); |
256 | $phone = $this->request->param("phone"); | 258 | $phone = $this->request->param("phone"); |
-
请 注册 或 登录 后发表评论