From 2a52df9ebb9fa6a215d5d681a8dbe4563e907f3d Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 20 Aug 2020 11:50:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=B5=84=E6=BA=90=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/TestingResourceController.class.php | 2 +- Application/Home/View/default/Public/promote_base.html | 2 +- Data/update.sql | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Application/Home/Controller/TestingResourceController.class.php b/Application/Home/Controller/TestingResourceController.class.php index d7e64dbfc..78f7602c6 100644 --- a/Application/Home/Controller/TestingResourceController.class.php +++ b/Application/Home/Controller/TestingResourceController.class.php @@ -489,7 +489,7 @@ class TestingResourceController extends BaseController $records = I('records', []); $loginPromote = $this->getLoginPromote(); - if ($loginPromote['level'] != 1) { + if ($loginPromote['level'] > 2) { return $this->ajaxReturn(['status' => 0, 'message' => '权限不足']); } diff --git a/Application/Home/View/default/Public/promote_base.html b/Application/Home/View/default/Public/promote_base.html index 5dce11468..b1873c24b 100644 --- a/Application/Home/View/default/Public/promote_base.html +++ b/Application/Home/View/default/Public/promote_base.html @@ -112,7 +112,7 @@ 操作日志 - +