This commit is contained in:
as2252258@163.com
2021-08-09 00:15:03 +08:00
parent 8c74ed4d00
commit 94a9184bf0
8 changed files with 705 additions and 804 deletions
+10
View File
@@ -23,6 +23,9 @@ trait JwtHelper
private string $secret = '';
private string $scene = 'default';
private string $encrypt = 'sha256';
@@ -81,6 +84,13 @@ mlAZUEjsoaT9vjvjGTxl3uCm0TX5KTgtSJIt2kA1tYVjQef+/iZTHxY=
$this->timeout = $timeout;
}
public function setScene(string $scene)
{
$this->scene = $scene;
}
/**
* @param string $timeout
*/