From d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 18 十二月 2023 15:59:37 +0800 Subject: [PATCH] 随访题库完成 --- src/api/system/dict/type.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js index a7a6e01..21d7de3 100644 --- a/src/api/system/dict/type.js +++ b/src/api/system/dict/type.js @@ -29,8 +29,8 @@ // 淇敼瀛楀吀绫诲瀷 export function updateType(data) { return request({ - url: '/system/dict/type', - method: 'put', + url: '/system/dict/type/edit', + method: 'post', data: data }) } @@ -38,16 +38,16 @@ // 鍒犻櫎瀛楀吀绫诲瀷 export function delType(dictId) { return request({ - url: '/system/dict/type/' + dictId, - method: 'delete' + url: '/system/dict/type/remove/' + dictId, + method: 'get' }) } // 鍒锋柊瀛楀吀缂撳瓨 export function refreshCache() { return request({ - url: '/system/dict/type/refreshCache', - method: 'delete' + url: '/system/dict/type/refreshCache/remove', + method: 'get' }) } -- Gitblit v1.9.3