import axios from "../../utils/axios";


export function filterProducts(query) {
    return axios({
        url: "/spms/inv/products/filter",
        method: "get",
        params: query
    });
}

export function filterDetailProducts(query) {
    return axios({
        url: "/spms/inv/products/filterDetail",
        method: "get",
        params: query
    });
}

export function deleteProducts(query) {
    return axios(
        {
            url: "/spms/inv/products/delete",
            method: "post",
            data: query
        }
    )
}
export function statDetailProducts(query) {
    return axios({
        url: "/spms/inv/products/stat",
        method: "get",
        params: query
    });
}

