优化验证token接口-暂时不验证token有效性
This commit is contained in:
@@ -480,6 +480,11 @@ class Playx extends Api
|
|||||||
return $this->error(__('PlayX API not configured'));
|
return $this->error(__('PlayX API not configured'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$asset = $this->ensureAssetForPlayx($playxUserId, $username);
|
||||||
|
if ($asset === null) {
|
||||||
|
return $this->error(__('Failed to ensure PlayX user asset'));
|
||||||
|
}
|
||||||
|
|
||||||
$expireAt = time() + intval(config('playx.session_expire_seconds', 3600));
|
$expireAt = time() + intval(config('playx.session_expire_seconds', 3600));
|
||||||
$sessionId = bin2hex(random_bytes(16));
|
$sessionId = bin2hex(random_bytes(16));
|
||||||
$now = time();
|
$now = time();
|
||||||
|
|||||||
Reference in New Issue
Block a user