From 3ebaf138101daae0614542cf21b5a2396b20cdc4 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 20 Nov 2019 11:05:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Repository/PromoteRepository.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Repository/PromoteRepository.class.php b/Application/Base/Repository/PromoteRepository.class.php index 8fa9f8db7..867984aa7 100644 --- a/Application/Base/Repository/PromoteRepository.class.php +++ b/Application/Base/Repository/PromoteRepository.class.php @@ -392,7 +392,7 @@ class PromoteRepository { } } else { if (isset($records[$promoteId]) && isset($records[$promoteId]['cash'])) { - $records[$promoteId]['cash'] = $item['amount']; + $records[$promoteId]['cash'] += $item['amount']; } else { $records[$promoteId]['cash'] = $item['amount']; }