正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -231,7 +231,7 @@ class Car extends Base | @@ -231,7 +231,7 @@ 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 | $token = $this->request->header("token"); | 233 | $token = $this->request->header("token"); |
234 | - file_put_contents("token.txt","12-24用户信息. ".(json_encode($this->auth->getUserinfo()))."\r\n",FILE_APPEND); | 234 | + file_put_contents("token.txt","12-24token. ".($this->auth->id)."\r\n",FILE_APPEND); |
235 | file_put_contents("token.txt","12-24token. ".($token)."\r\n",FILE_APPEND); | 235 | file_put_contents("token.txt","12-24token. ".($token)."\r\n",FILE_APPEND); |
236 | if(!$this->auth->id){ | 236 | if(!$this->auth->id){ |
237 | $this->error("添加失败,token失效。"); | 237 | $this->error("添加失败,token失效。"); |
-
请 注册 或 登录 后发表评论