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

export default {
    config: {
        url: `${config.API_URL}/config/list`,
        name: "-",
        get: async function (data = {}) {
            return await http.get(this.url, data);
        }
    },
    configSave: {
        url: `${config.API_URL}/config/save`,
        name: "-",
        post: async function (data = {}) {
            return await http.post(this.url, data);
        }
    },
    regin: {
        url: `${config.API_URL}/config/regin`,
        name: "-",
        get: async function (data = {}) {
            return await http.get(this.url, data);
        }
    },
}
