From 049f771ce43aa24aafdbbb59de15c412ddca637c Mon Sep 17 00:00:00 2001 From: zhuyu Date: Tue, 3 Jun 2025 22:52:28 +0800 Subject: [PATCH] feature: salary auth --- application/admin/controller/salary/Detail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/controller/salary/Detail.php b/application/admin/controller/salary/Detail.php index cfbb1e0..0f909de 100644 --- a/application/admin/controller/salary/Detail.php +++ b/application/admin/controller/salary/Detail.php @@ -154,7 +154,7 @@ class Detail extends Backend return json($result); } - $this->assignconfig("manage", $this->auth->check('salary/detail/custom_manage')); + $this->assignconfig("manage", $this->auth->check('salary/detail/custom_edit')); $this->view->assign("month", $month); $this->view->assign("salaryitem", json_encode($salaryItem)); return $this->view->fetch();