From 040f3312fae38b37f3a497491bcda8b802a7a801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=92=8A?= Date: Wed, 7 Jan 2026 17:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=92=B1=E5=8C=85=E6=93=8D=E4=BD=9C=E6=96=B9=E6=B3=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E3=80=82---=E5=90=8E=E5=8F=B0=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/model/UserWallet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/common/model/UserWallet.php b/application/common/model/UserWallet.php index 644cc5c4..5d577174 100644 --- a/application/common/model/UserWallet.php +++ b/application/common/model/UserWallet.php @@ -350,14 +350,14 @@ class UserWallet extends Model if ($money_type == self::MONEYTYPECOIN) { if (in_array($change_type, $this->coin_consumption_type_array)) { $value['change_in_out'] = "支出"; - $value['change_value'] = $value['change_value'] * -1; + $value['change_value'] = $value['coin'] * -1; } else { $value['change_in_out'] = "收入"; } } else { if (in_array($change_type, $this->diamond_consumption_type_array)) { $value['change_in_out'] = "支出"; - $value['change_value'] = $value['change_value'] * -1; + $value['change_value'] = $value['earnings'] * -1; } else { $value['change_in_out'] = "收入"; }