From 916735aca6816732bc43a186dd9d7ccf5e5a1989 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期四, 14 十二月 2023 23:09:47 +0800 Subject: [PATCH] yxh:修改了账户管理和案例编辑 --- src/api/system/grade.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/system/grade.js b/src/api/system/grade.js index beb962d..4a5711e 100644 --- a/src/api/system/grade.js +++ b/src/api/system/grade.js @@ -29,8 +29,8 @@ // 淇敼骞寸骇淇℃伅 export function updateGrade(data) { return request({ - url: '/system/grade', - method: 'put', + url: '/system/grade/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎骞寸骇淇℃伅 export function delGrade(gradeId) { return request({ - url: '/system/grade/' + gradeId, - method: 'delete' + url: '/system/grade/remove/' + gradeId, + method: 'get', }) } -- Gitblit v1.9.3