作者 郭文星

1231

@@ -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失效。");