作者 郭文星

12311

... ... @@ -231,7 +231,8 @@ class Car extends Base
$phone = $this->request->param("phone");
$is_adult = $this->request->param("is_adult");
$token = $this->request->header("token");
file_put_contents("token.txt","12-24. ".($token)."\r\n",FILE_APPEND);
file_put_contents("token.txt","12-24用户信息. ".(json_encode($this->auth->getUserinfo()))."\r\n",FILE_APPEND);
file_put_contents("token.txt","12-24token. ".($token)."\r\n",FILE_APPEND);
if(!$this->auth->id){
$this->error("添加失败,token失效。");
}
... ...