@cdwx/system
Version:
成都文宣业务类服务模块组件库
41 lines (40 loc) • 787 B
JavaScript
import e from "./http-client.js";
const n = "/menu";
function r(t) {
return e.http.post(`${n}/page`, t);
}
function p(t) {
return e.http.get(`${n}/delete/${t}`);
}
function a(t) {
return e.http.post(`${n}/add`, t);
}
function u(t) {
return e.http.post(`${n}/update`, t);
}
function i() {
return e.http.get(`${n}/getAll`);
}
function c(t) {
return e.http.post(`${n}/operateStatus`, t);
}
function l(t) {
return e.http.post(`${n}/operateSort`, [t]);
}
function g(t) {
return e.http.post(`${n}/delList`, { ids: t });
}
function s(t) {
return e.http.get(`${n}/getAllByPackageCode`, t);
}
export {
g as delList,
p as deleteData,
i as getAll,
s as getAllByPackageCode,
r as getListData,
c as operateData,
l as operateSort,
a as saveData,
u as updateData
};