You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-cpt-vue/src/api/system/sysCustomConfigDetail.js

33 lines
610 B
JavaScript

import axios from "@/utils/request";
export function list(query) {
return axios({
url: "/system/custom/configDetail/list",
method: "get",
params: query
});
}
// 保存
export function saveCustomConfig(data, formName, method = "post") {
let url =
formName !== "edit"
? "/system/custom/configDetail/save"
: "/system/custom/configDetail/edit";
return axios({
url: url,
method: method,
data: data
});
}
// 删除
export function devCustomConfig(data) {
return axios({
url: "/system/custom/configDetail/delete",
method: "post",
data: data
});
}