From 202b2bcd384bb718c908103224a4beeb60542d27 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Thu, 8 May 2025 15:43:32 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BC=BA=E5=A4=B1=E4=BF=A1=E6=81=AF=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/service/UserServer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/service/UserServer.php b/app/api/service/UserServer.php index ac2544b..5f35e0c 100644 --- a/app/api/service/UserServer.php +++ b/app/api/service/UserServer.php @@ -53,7 +53,7 @@ class UserServer $avatar_url = $response['headimgurl'] ?? ''; $nickname = $response['nickname'] ?? ''; - Db::startTrans(); + (new \think\Db)->startTrans(); // 获取存储引擎 $config = [