修改bug

master
ELF 5 years ago
parent e5ce5ded1a
commit 3ebaf13810

@ -392,7 +392,7 @@ class PromoteRepository {
} }
} else { } else {
if (isset($records[$promoteId]) && isset($records[$promoteId]['cash'])) { if (isset($records[$promoteId]) && isset($records[$promoteId]['cash'])) {
$records[$promoteId]['cash'] = $item['amount']; $records[$promoteId]['cash'] += $item['amount'];
} else { } else {
$records[$promoteId]['cash'] = $item['amount']; $records[$promoteId]['cash'] = $item['amount'];
} }

Loading…
Cancel
Save