修改监管平台token过期问题1
This commit is contained in:
parent
aaf854e046
commit
9b9e937c8b
@ -80,6 +80,7 @@ class regulatoryPlatform
|
|||||||
throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR));
|
throw new BusinessException(HttpEnumCode::getMessage(HttpEnumCode::SERVER_ERROR));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 默认为6天
|
||||||
$expires_in = 60 * 60 * 24 * 6;
|
$expires_in = 60 * 60 * 24 * 6;
|
||||||
if (!empty($data['expiresIn'])) {
|
if (!empty($data['expiresIn'])) {
|
||||||
if ($data['expiresIn'] > 100){
|
if ($data['expiresIn'] > 100){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user