import { AgentPageResult, AgentQueryParam } from "@/types/api/member/agent";
import request from "@/utils/request";
import { AxiosPromise } from "axios";

/**
 * "会员管理" => "业务和汇总"
//  * @param data
 */
export function memberAgent(
    data: AgentQueryParam
): AxiosPromise<AgentPageResult> {
    return request({
        url: "admin/member/agent/page",
        method: "post",
        params: data,
    });
}
