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

export default {
    brokerage: {
        list: {
            url: `${config.API_URL}/finance/brokerage/list`,
            name: "佣金明细",
            get: async function (params = {}) {
                return await http.get(this.url, params);
            }
        }
    },
    extract: {
        list: {
            url: `${config.API_URL}/finance/extract/list`,
            name: "用户提现",
            get: async function (params = {}) {
                return await http.get(this.url, params);
            }
        }
    }
};
