优化测试verifyToken接口脚本

This commit is contained in:
2026-05-06 11:05:23 +08:00
parent d44ce36286
commit c2c2baeaec

View File

@@ -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));
MallSession::create([
'session_id' => $sessionId,