@cdwx/system
Version:
成都文宣业务类服务模块组件库
49 lines (48 loc) • 941 B
JavaScript
import e from "./http-client.js";
const n = "/user";
function o(t) {
return e.http.post(`${n}/page`, t);
}
function p(t) {
return e.http.get(`${n}/delete/${t}`);
}
function u(t) {
return e.http.get(`${n}/get/${t}`);
}
function a(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 $(t) {
return e.http.get(`${n}/resetPwd/${t}`);
}
function c(t) {
return e.http.post(`${n}/delList`, { ids: t });
}
function g(t) {
return e.http.get(`${n}/getList?siteCode=${t}`);
}
function f(t) {
return e.http.post(`${n}/getRecordList`, t);
}
function d(t) {
return e.http.exportFile(`${n}/export`, t);
}
export {
c as delList,
p as deleteData,
d as exportData,
g as getAllUser,
u as getData,
o as getListData,
f as getLogList,
s as operateData,
$ as resetPwd,
a as saveData,
i as updateData
};