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