From 092683425d063c31f3c84667d45f8e0b1c37bfd4 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 28 Oct 2020 11:35:37 +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 +- .../Home/Controller/PromoteGradeController.class.php | 2 +- Application/Home/View/default/Home/landingPage.html | 6 +++--- Application/Home/View/default/Public/promote_base.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/Home/Controller/BaseController.class.php b/Application/Home/Controller/BaseController.class.php index f5e4cc9fe..2a1215768 100644 --- a/Application/Home/Controller/BaseController.class.php +++ b/Application/Home/Controller/BaseController.class.php @@ -404,7 +404,7 @@ class BaseController extends HomeController } } - $closePromoteLowest = [334]; + $closePromoteLowest = [334, 370]; if (in_array($topPromote['company_id'], $closePromoteLowest)) { if ($topPromote['can_view_recharge'] == 1 && !in_array($promote['level'], [3, 4])) { return true; diff --git a/Application/Home/Controller/PromoteGradeController.class.php b/Application/Home/Controller/PromoteGradeController.class.php index 35fab0f3b..7a58b03bc 100644 --- a/Application/Home/Controller/PromoteGradeController.class.php +++ b/Application/Home/Controller/PromoteGradeController.class.php @@ -14,7 +14,7 @@ class PromoteGradeController extends BaseController parent::_initialize(); $loginPromote = $this->getLoginPromote(); - if(C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) { + if(C('APP_ENV') == 'dev' || in_array($loginPromote['company_id'], [334, 370])) { } else { return $this->error('您没有权限'); diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 0f074607d..a22b1ff59 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -112,7 +112,7 @@
免费安装
- +
@@ -352,12 +352,12 @@ -
+