function getToken(){ $token=S('token'); if(empty($token)){ //重新获取$token S('token',$token,3600); } return $token; } 为啥每次都是过期不更新呢?