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']);