test(partner): 修正钱包流水日志字段名称为type与amount
这个提交包含在:
@@ -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();
|
||||
|
||||
在新工单中引用
屏蔽一个用户