From 3cf0f685696b807ce27f7671429eb35867b80ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Mon, 29 Dec 2025 20:08:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=BB=E7=9F=B3=E5=85=91=E6=8D=A2=E9=87=91?= =?UTF-8?q?=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/UserWallet.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/model/UserWallet.php b/application/api/model/UserWallet.php index 227c54df..4c3d79fd 100644 --- a/application/api/model/UserWallet.php +++ b/application/api/model/UserWallet.php @@ -141,6 +141,7 @@ class UserWallet extends Model ]; $re = db::name('vs_user_money_log')->insertAll($account_log); $re1 = db::name('user_wallet')->where('user_id',$uid)->setDec('earnings',$earnings_num); + sleep(5); $re2 = db::name('user_wallet')->where('user_id',$uid)->setInc('coin',$earnings_num * $ear_exchange_coin); if($re && $re1 && $re2){ db::commit();