init
This commit is contained in:
29
src/api/system_high/paramSetupServer.js
Normal file
29
src/api/system_high/paramSetupServer.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import http from "@/utils/http";
|
||||
class ParamSetupServer {
|
||||
async getAll() {
|
||||
return await http.get("/sys_parameter/index", {});
|
||||
}
|
||||
|
||||
async getOne(key) {
|
||||
return await http.get("/sys_parameter/key", { key });
|
||||
}
|
||||
|
||||
async add(row) {
|
||||
return await http.post("/sys_parameter/add", row);
|
||||
}
|
||||
|
||||
async edit(row) {
|
||||
return await http.post("/sys_parameter/edit", row);
|
||||
}
|
||||
|
||||
async setSysConfig(row) {
|
||||
return await http.post("/sys_parameter/setSysConfig", row);
|
||||
}
|
||||
|
||||
async del(row) {
|
||||
return await http.post("/sys_parameter/del", row);
|
||||
}
|
||||
}
|
||||
|
||||
const paramSetupServer = new ParamSetupServer();
|
||||
export default paramSetupServer;
|
||||
Reference in New Issue
Block a user