From 711555c3d5c36a0b2ca34eb9dc8b31a8101d9e81 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 06 六月 2024 18:00:58 +0800
Subject: [PATCH] 模板可见性配置

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

diff --git a/src/api/examTemplate.js b/src/api/examTemplate.js
index ef8ab7d..a294599 100644
--- a/src/api/examTemplate.js
+++ b/src/api/examTemplate.js
@@ -45,7 +45,7 @@
 // 淇敼闅忔満璇曞嵎妯℃澘
 export const editExamTemplate = (params) => {
     return axios({
-        url: "/api/admin/exam-template/",
+        url: "/api/admin/exam-template",
         method: "PUT",
         data: params
     })
@@ -54,7 +54,7 @@
 // 娣诲姞闅忔満璇曞嵎妯℃澘
 export const addExamTemplate = (params) => {
     return axios({
-        url: "/api/admin/exam-template/",
+        url: "/api/admin/exam-template",
         method: "POST",
         data: params
     })

--
Gitblit v1.8.0