From 75754a8957ca6fb32af04b4305055284c19e9029 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 30 Oct 2020 17:19:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/DownloadController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index c164a7c56..5f78a0865 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -2257,15 +2257,15 @@ class DownloadController extends BaseController { $rs = M('promote','tab_')->where($map1)->field('id,account,nickname')->select(); $childPromoteIds = ''; if(empty($rs)) { - $map['tab_user.promote_id'] = PID; + $map['tab_apply.promote_id'] = PID; }else { foreach ($rs as $rsKey => $rsValue) { $id = $rsValue['id']; $childPromoteIds .= $id.','; } - $childPromoteIds = rtrim($childPromoteIds, ','); - $childPromoteIds .= ',' . PID; - $map['tab_apply.promote_id'] = ['in', $childPromoteIds]; + $childPromoteIds = rtrim($childPromoteIds, ','); + $childPromoteIds .= ',' . PID; + $map['tab_apply.promote_id'] = ['in', $childPromoteIds]; } $levelPromote = $this->getLevelPromote(); $queryPromote = $this->getQueryPromote($levelPromote);