From 60283af40f07a43fd9443b4844f3ae8168d3d3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sat, 11 Oct 2025 16:26:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E7=AC=AC11=E6=AC=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/model/Redpacket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/common/model/Redpacket.php b/application/common/model/Redpacket.php index 93a7914..219d281 100644 --- a/application/common/model/Redpacket.php +++ b/application/common/model/Redpacket.php @@ -67,9 +67,9 @@ class Redpacket extends Model 'change_value' => $data['total_amount'], 'room_id' => $data['room_id'], 'money_type' => $data['coin_type'], - 'change_type' => $coinField == self::COIN_GOLD ? 32 : 29, + 'change_type' => $data['coin_type'] == self::COIN_GOLD ? 32 : 29, 'from_id' => $data['room_id'], - 'remarks' => $coinField == self::COIN_GOLD ? '金币(发红包)' : '钻石(发红包)', + 'remarks' => $data['coin_type'] == self::COIN_GOLD ? '金币(发红包)' : '钻石(发红包)', 'createtime' => time() ];