From f25f1bb2626a7c39a9af333de4755564b58b0199 Mon Sep 17 00:00:00 2001 From: zhuyu Date: Mon, 2 Jun 2025 12:21:17 +0800 Subject: [PATCH] feature: task notice --- application/admin/controller/salary/Detail.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/admin/controller/salary/Detail.php b/application/admin/controller/salary/Detail.php index 5640a67..a50f77f 100644 --- a/application/admin/controller/salary/Detail.php +++ b/application/admin/controller/salary/Detail.php @@ -151,11 +151,10 @@ class Detail extends Backend $result = array("total" => count($res), "rows" => $res); - $this->assignconfig("manage", $this->auth->isSuperAdmin()); return json($result); } - + $this->assignconfig("manage", $this->auth->isSuperAdmin()); $this->view->assign("month", $month); $this->view->assign("salaryitem", json_encode($salaryItem)); return $this->view->fetch();