Zlpt_Portal_h5/src/services/demand/index.js

33 lines
605 B
JavaScript

import { http } from '@/utils/http'
/**
* 需求新增接口
*/
export const addLeaseInfoAPI = (data) => {
return http({
method: 'POST',
url: `/material-mall/ma-lease/add`,
data,
})
}
/**
* 需求列表接口
*/
export const getLeaseDemandListAPI = (data) => {
return http({
method: 'POST',
url: `/material-mall/ma-lease/leaseList`,
data,
})
}
/**
* 需求接单
*/
export const acceptLeaseDemandOrderAPI = (data) => {
return http({
method: 'POST',
url: `/material-mall/ma-lease/accept`,
data,
})
}