From c2c2baeaec52dd0a61d0d407cbbbedddd03dcf32 Mon Sep 17 00:00:00 2001 From: zhenhui <1276357500@qq.com> Date: Wed, 6 May 2026 11:05:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95verifyToken?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/controller/v1/Playx.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/api/controller/v1/Playx.php b/app/api/controller/v1/Playx.php index 215f68d..047c5f5 100644 --- a/app/api/controller/v1/Playx.php +++ b/app/api/controller/v1/Playx.php @@ -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,