From 5241f98c689f32a16543bf519e2fe72e25dabe85 Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Thu, 21 Nov 2019 15:52:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=B8=81=E8=BD=AC=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/PromoteCoinController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteCoinController.class.php b/Application/Home/Controller/PromoteCoinController.class.php index 7c5250560..2bc70a5ab 100644 --- a/Application/Home/Controller/PromoteCoinController.class.php +++ b/Application/Home/Controller/PromoteCoinController.class.php @@ -661,7 +661,7 @@ class PromoteCoinController extends BaseController $promote = $this->getLoginPromote(); $map = ['chain' => ['like', $promote['chain'] . $promote['id'] . '/%']]; $promoteIds = D('Promote')->field('id')->where($map)->getField('id', true); - $promoteIds[] = $id; + $promoteIds[] = $promote['id']; if ($account) { $map['account'] = ['like', '%' . $account . '%']; }