mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-09-30 05:42:14 +08:00
14 lines
295 B
TypeScript
14 lines
295 B
TypeScript
import api from "./api";
|
|
|
|
export function getConfig() {
|
|
return api.get("/config", undefined).then((res) => res);
|
|
}
|
|
|
|
export function setConfig(data) {
|
|
return api.put("/config", data).then((res) => res);
|
|
}
|
|
|
|
export function esReload() {
|
|
return api.put("/config/reload").then((res) => res);
|
|
}
|