From eb507e6cb55cceba8fff1b416c498a2058885e2d Mon Sep 17 00:00:00 2001 From: chen Date: Sat, 26 Sep 2026 14:25:50 +0800 Subject: [PATCH] =?UTF-8?q?test(partner):=20=E4=BF=AE=E6=AD=A3=E9=92=B1?= =?UTF-8?q?=E5=8C=85=E6=B5=81=E6=B0=B4=E6=97=A5=E5=BF=97=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=B8=BAtype=E4=B8=8Eamount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/partner/verify_full_order_rewards_and_settle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/partner/verify_full_order_rewards_and_settle.php b/tests/partner/verify_full_order_rewards_and_settle.php index 41a8f29..f6cba56 100644 --- a/tests/partner/verify_full_order_rewards_and_settle.php +++ b/tests/partner/verify_full_order_rewards_and_settle.php @@ -398,10 +398,10 @@ class FullOrderRewardVerification // 校验钱包流水日志 $moneyLogC = Db::name('shopro_user_wallet_log') ->where('user_id', $chain['c']->id) - ->where('wallet_type', 'money') + ->where('type', 'money') ->order('id', 'desc') ->find(); - $this->assert($moneyLogC !== null && floatval($moneyLogC['wallet']) == 600.00, "生成对应的 money 变动流水: 变更 +600.00, 备注: " . ($moneyLogC['memo'] ?? '')); + $this->assert($moneyLogC !== null && floatval($moneyLogC['amount']) == 600.00, "生成对应的 money 变动流水: 变更 +" . floatval($moneyLogC['amount'] ?? 0) . ", 事件: " . ($moneyLogC['event'] ?? '') . ", 备注: " . ($moneyLogC['memo'] ?? '')); // 校验酒道馆/区县 A 的钱包增加 (50 + 50 + 均分) $freshA = Db::name('user')->where('id', $chain['a']->id)->find();