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

export default {
    list: {
        url: `${config.API_URL}/merchant/print/list`,
        name: "-",
        get: async function (params) {
            return await http.get(this.url, params);
        },
    },
    test: {
        url: `${config.API_URL}/print/test`,
        name: "-",
        post: async function (params) {
            return await http.post(this.url, params);
        },
    },
    refresh: {
        url: `${config.API_URL}/print/refresh`,
        name: "-",
        post: async function (params) {
            return await http.post(this.url, params);
        },
    },
}