This commit is contained in:
张成
2025-10-09 23:50:03 +08:00
parent 0b78af46cd
commit 88cd8d6e72
37 changed files with 444 additions and 240 deletions

View File

@@ -1,27 +1,27 @@
import http from "@/utils/http";
class SysModuleServer {
async all() {
let res = await window.framework.http.get("/sys_menu/all", {});
let res = await http.get("/sys_menu/all", {});
return res;
}
async list(row) {
let res = await window.framework.http.get("/sys_menu/all", row);
let res = await http.get("/sys_menu/all", row);
return res;
}
async add(row) {
let res = await window.framework.http.post("/sys_menu/add", row);
let res = await http.post("/sys_menu/add", row);
return res;
}
async edit(row) {
let res = await window.framework.http.post("/sys_menu/edit", row);
let res = await http.post("/sys_menu/edit", row);
return res;
}
async del(row) {
let res = await window.framework.http.post("/sys_menu/del", row);
let res = await http.post("/sys_menu/del", row);
return res;
}
}