From 102e77267de4a7e0274e895fe9ae9b5ff41706b2 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 29 Jun 2020 14:22:47 +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/Service/MarketService.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Base/Service/MarketService.class.php b/Application/Base/Service/MarketService.class.php index 1939b1433..e68505fcd 100644 --- a/Application/Base/Service/MarketService.class.php +++ b/Application/Base/Service/MarketService.class.php @@ -41,7 +41,7 @@ class MarketService $map['id'] = $promote['id']; $map['admin_id'] = $fromId; M('promote', 'tab_')->where($map)->save(['admin_id' => $toId]); - M('promote', 'tab_')->where(['chain' => ['like', $promote['chain'] . $promote['id'] . '/%']])->save(['admin_id' => $promote['admin_id']]); + M('promote', 'tab_')->where(['chain' => ['like', $promote['chain'] . $promote['id'] . '/%']])->save(['admin_id' => $toId]); $authGroup = M('auth_group', 'sys_')->where(['title'=>'市场总监'])->find(); $dataPresident = explode(',', $authGroup['data_president']);