import request from "@/http/request";

/**
 * 分页查找物料
 */
export const getGoodsInfoByPage = (params) => {
    return request({
        url: '/goods/getGoodsInfoByPage',
        method: 'post',
        data: params
    })
}
/**
 * 根据物料id查询物料信息
 */
export const getGoodsInfoByGoodsId = (params) => {
    return request({
        url: '/goods/getGoodsInfoByGoodsId',
        method: 'get',
        data: params
    })
}