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

export default {
    get: {
        url: `${config.API_URL}/store/member/list`,
        name: "-",
        get: async function (params) {
            return await http.get(this.url, params);
        },
    },
    save: {
        url: `${config.API_URL}/store/member/save`,
        name: "-",
        post: async function (params) {
            return await http.post(this.url, params);
        },
    },
    del: {
        url: `${config.API_URL}/store/member/del`,
        name: "-",
        post: async function (params) {
            return await http.post(this.url, params);
        },
    },
    batch: {
        url: `${config.API_URL}/store/member/batch`,
        name: "-",
        post: async function (params) {
            return await http.post(this.url, params);
        },
    },
}