From 78a9096e16ae5353bf2cec2f5ebaefc5e49d0d1c Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 16 五月 2024 18:11:19 +0800
Subject: [PATCH] feat:部门管理员功能权限控制

---
 src/api/dashboard.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/api/dashboard.js b/src/api/dashboard.js
index 40292f8..bbd6429 100644
--- a/src/api/dashboard.js
+++ b/src/api/dashboard.js
@@ -2,8 +2,7 @@
 
 export default {
   index: () => post('/api/admin/dashboard/index'),
-  getData: query => get('/api/admin/examPaperAnswer/statistic', query),
-  getData: query => get('/api/admin/examPaperAnswer/statistic', query),
+  getData: query => post('/api/admin/examPaperAnswer/statistic', query),
   examPaperList: query => get('/api/admin/exam/paper/list', query),
   page: query => post('/api/admin/examPaperAnswer/page', query)
 }

--
Gitblit v1.8.0