@cdwx/system
Version:
成都文宣业务类服务模块组件库
37 lines (36 loc) • 682 B
JavaScript
import e from "./http-client.js";
const n = "/role";
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.get(`${n}/get/${t}`);
}
function u(t) {
return e.http.post(`${n}/add`, t);
}
function i(t) {
return e.http.post(`${n}/update`, t);
}
function s(t) {
return e.http.post(`${n}/operateStatus`, t);
}
function g() {
return e.http.post(`${n}/getList`);
}
function c(t) {
return e.http.post(`${n}/getRecordList`, t);
}
export {
p as deleteData,
g as getAllList,
a as getData,
r as getListData,
c as getLogList,
s as operateData,
u as saveData,
i as updateData
};