import axios from "@/utils/request";

export function getRegisters(query) {
    return axios({
        url: "/salewarehouse/register/list",
        method: "get",
        params: query
    });
}


export function register(data) {
    return axios({
        url: "/salewarehouse/register/save",
        method: "post",
        data: data
    });
}


export function checkPass(data) {
    return axios({
        url: "/salewarehouse/register/check",
        method: "post",
        data: data
    });
}

export function getCheckcode(data) {
    return axios({
        url: "/salewarehouse/register/getCheckcode",
        method: "post",
        data: data
    });
}


export function deleteRe(data) {
    return axios({
        url: "/salewarehouse/register/deleteResiter",
        method: "post",
        data: data
    });
}

export function resetPasswd(data) {
    return axios({
        url: "/salewarehouse/reset/passwd",
        method: "post",
        data: data
    });
}


