import config from "@/config"; import http from "@/utils/request"; export default { list: { url: `${config.API_URL}/mer/qrcode/list`, name: "-", get: async function (data = {}) { return await http.get(this.url, data); }, }, total: { url: `${config.API_URL}/mer/qrcode/total`, name: "-", get: async function (data = {}) { return await http.get(this.url, data); }, }, today: { url: `${config.API_URL}/mer/turnover/today`, name: "-", get: async function (data = {}) { return await http.get(this.url, data); }, }, detail: { url: `${config.API_URL}/mer/order/detail`, name: "-", post: async function (data = {}) { return await http.post(this.url, data); }, }, batch: { url: `${config.API_URL}/mer/order/batch`, name: "-", post: async function (data = {}) { return await http.post(this.url, data); }, }, del: { url: `${config.API_URL}/mer/order/del`, name: "-", post: async function (data = {}) { return await http.post(this.url, data); }, }, }