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

export default {
    list: {
        url: `${config.API_URL}/order/list`,
        name: "-",
        get: async function (data = {}) {
            return await http.get(this.url, data);
        },
    },
    detail: {
        url: `${config.API_URL}/order/detail`,
        name: "-",
        get: async function (data = {}) {
            return await http.get(this.url, data);
        },
    },
    send: {
        url: `${config.API_URL}/service/chat/send`,
        name: "-",
        post: async function (data = {}) {
            return await http.post(this.url, data);
        },
    },
}