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 @@ 操作日志 - +