新增API接口模块
This commit is contained in:
parent
cb6467bcd5
commit
a826830082
@ -56,13 +56,13 @@ class JwtAuth
|
||||
public function __construct()
|
||||
{
|
||||
// jwt 过期时间
|
||||
$this->expTime = get_system_config('api','exptime');
|
||||
$this->expTime = get_system_config('token','exptime');
|
||||
// claim iss 签发组织
|
||||
$this->iss = get_system_config('api','iss');
|
||||
$this->iss = get_system_config('token','iss');
|
||||
// claim aud签发作者
|
||||
$this->aud = get_system_config('api','aud');
|
||||
$this->aud = get_system_config('token','aud');
|
||||
// secrect
|
||||
$this->secrect = get_system_config('api','secrect');
|
||||
$this->secrect = get_system_config('token','secrect');
|
||||
}
|
||||
|
||||
// 私有化clone函数
|
||||
|
Loading…
x
Reference in New Issue
Block a user