From f0d79c83a2cbfb8f4b6d595f464f0c1f90ddeb03 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 13 Oct 2020 15:34: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/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 ea09d5dc0..f5e4cc9fe 100644 --- a/Application/Home/Controller/BaseController.class.php +++ b/Application/Home/Controller/BaseController.class.php @@ -406,7 +406,7 @@ class BaseController extends HomeController $closePromoteLowest = [334]; if (in_array($topPromote['company_id'], $closePromoteLowest)) { - if ($topPromote['can_view_recharge'] == 1 && $promote['level'] != 4) { + if ($topPromote['can_view_recharge'] == 1 && !in_array($promote['level'], [3, 4])) { return true; } else { return false;