From 610b299ed7c64b48ede23c2a7553c5b90988efa5 Mon Sep 17 00:00:00 2001 From: web <candymxq888@outlook.com> Date: 星期二, 18 三月 2025 16:01:47 +0800 Subject: [PATCH] fix:修改后台接口问题 --- src/api/configuration/commonParameters/index.js | 15 ++++----------- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/src/api/configuration/commonParameters/index.js b/src/api/configuration/commonParameters/index.js index ede9f95..fac65aa 100644 --- a/src/api/configuration/commonParameters/index.js +++ b/src/api/configuration/commonParameters/index.js @@ -12,7 +12,7 @@ //公司配置信息 export default function commonParameters() { return { - //创建公司配置信息 + //创建配置信息 create: (data) => { return publicRequest({ url: '/commonParameters/create', @@ -20,14 +20,14 @@ data, }); }, - //删除公司配置信息 + //删除配置信息 remove: (id) => { return publicRequest({ url: `/commonParameters/remove?id=${id}`, method: 'get', }); }, - //编辑公司配置信息 + //编辑配置信息 modify: (data) => { return publicRequest({ url: '/commonParameters/modify', @@ -35,19 +35,12 @@ data, }); }, - //分页查询公司配置信息 + //分页查询配置信息 search: (data) => { return publicRequest({ url: '/commonParameters/search', method: 'post', data, - }); - }, - //获取公司配置信息 - get: (id) => { - return publicRequest({ - url: `/commonParameters/get?id=${id}`, - method: 'get', }); }, }; -- Gitblit v1.9.3