import request from "@/utils/request";

export default {
  reboot() {
    return request({
      url: "/reboot",
      method: "POST",
    });
  },
  getConfig() {
    return request({
      url: "/getConfig",
      method: "GET",
    });
  },
  setConfig(config) {
    return request({
      url: "/setConfig",
      method: "POST",
      data: config,
    });
  },
};
