正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -230,7 +230,7 @@ class Car extends Base | @@ -230,7 +230,7 @@ class Car extends Base | ||
230 | $IDcard = $this->request->param("IDcard"); | 230 | $IDcard = $this->request->param("IDcard"); |
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; |
234 | return $this->success("添加成功", $user_id); | 234 | return $this->success("添加成功", $user_id); |
235 | if(!$user_id){ | 235 | if(!$user_id){ |
236 | $this->error("添加失败,token失效。".$this->auth->id); | 236 | $this->error("添加失败,token失效。".$this->auth->id); |
-
请 注册 或 登录 后发表评论