From 8d1a58d583a03ff1bf19b0a2121d65c4ac0e0c49 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 30 Sep 2020 18:43:07 +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/PromoteGradeController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Home/Controller/PromoteGradeController.class.php b/Application/Home/Controller/PromoteGradeController.class.php index 0ef57eb7e..c9cc191b8 100644 --- a/Application/Home/Controller/PromoteGradeController.class.php +++ b/Application/Home/Controller/PromoteGradeController.class.php @@ -11,7 +11,8 @@ class PromoteGradeController extends BaseController { protected function _initialize() { - C(api('Config/lists')); + parent::_initialize(); + $loginPromote = $this->getLoginPromote(); if((C('APP_ENV') == 'dev' || $loginPromote['company_id'] == 334) && $loginPromote['level'] <= 2) {