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

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