优化测试verifyToken接口脚本
This commit is contained in:
@@ -545,6 +545,11 @@ class Playx extends Api
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$asset = $this->ensureAssetForPlayx($userId, $username);
|
||||||
|
if ($asset === null) {
|
||||||
|
return $this->error(__('Failed to ensure PlayX user asset'));
|
||||||
|
}
|
||||||
|
|
||||||
$sessionId = bin2hex(random_bytes(16));
|
$sessionId = bin2hex(random_bytes(16));
|
||||||
MallSession::create([
|
MallSession::create([
|
||||||
'session_id' => $sessionId,
|
'session_id' => $sessionId,
|
||||||
|
|||||||
Reference in New Issue
Block a user