From e495105ed0f0d777ab2c70c81205a34671634b69 Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 16 Dec 2020 10:40:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E9=95=BF=E5=8F=AF=E4=BB=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/BaseController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/BaseController.class.php b/Application/Home/Controller/BaseController.class.php index eca59c3f5..3705e3848 100644 --- a/Application/Home/Controller/BaseController.class.php +++ b/Application/Home/Controller/BaseController.class.php @@ -397,7 +397,7 @@ class BaseController extends HomeController // 推广公司 $promoteCompanyService = new PromoteCompanyService(); $promoteCompany = $promoteCompanyService->getCompanies([$topPromote['company_id']]); - if ($promoteCompany[$topPromote['company_id']]['type'] == $promoteCompanyService::TYPE_CUSTOM) { // 特殊公司不能看 + if ($promoteCompany[$topPromote['company_id']]['type'] == $promoteCompanyService::TYPE_CUSTOM && $promote['level'] == 4) { // 特殊公司不能看 return false; }