This commit is contained in:
张成
2025-10-09 18:00:37 +08:00
parent 4823e1d152
commit 366c18bcea
96 changed files with 16623 additions and 12 deletions

View File

@@ -0,0 +1,40 @@
import http from "@/libs/http";
class UserServer {
async login(row) {
let res = await http.post("/sys_user/login", row);
return res;
}
async all() {
let res = await http.get("/sys_user/index", {});
return res;
}
async exportCsv(row) {
let res = http.fileExport("/sys_user/export", row);
return res;
}
async authorityMenus() {
let res = await http.post("/sys_user/authorityMenus", {});
return res;
}
async add(row) {
let res = await http.post("/sys_user/add", row);
return res;
}
async edit(row) {
let res = await http.post("/sys_user/edit", row);
return res;
}
async del(row) {
let res = await http.post("/sys_user/del", row);
return res;
}
}
const userServer = new UserServer();
export default userServer;