import config from "@/config";
import http from "@/utils/request";

export default {
	room:{
		add: {
			url: `${config.API_URL}/machine.room.add`,
			name: "新增机房配置",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		list: {
			url: `${config.API_URL}/machine.room.list`,
			name: "机房配置列表",
			get: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	}
};
