From 811f2d080d12fec5b95ff41c5263e89741e16cf9 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 11 十二月 2024 10:24:08 +0800 Subject: [PATCH] 1 --- se-ui/src/api/system/soft.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/se-ui/src/api/system/soft.js b/se-ui/src/api/system/soft.js new file mode 100644 index 0000000..9322fc5 --- /dev/null +++ b/se-ui/src/api/system/soft.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 鏌ヨ杞欢鍒楄〃 +export function listSoft(query) { + return request({ + url: '/system/soft/list', + method: 'get', + params: query + }) +} + +// 鏌ヨ杞欢璇︾粏 +export function getSoft(softId) { + return request({ + url: '/system/soft/' + softId, + method: 'get' + }) +} + +// 鏂板杞欢 +export function addSoft(data) { + return request({ + url: '/system/soft', + method: 'post', + data: data + }) +} + +// 淇敼杞欢 +export function updateSoft(data) { + return request({ + url: '/system/soft', + method: 'put', + data: data + }) +} + +// 鍒犻櫎杞欢 +export function delSoft(softId) { + return request({ + url: '/system/soft/' + softId, + method: 'delete' + }) +} -- Gitblit v1.9.3