2023-12-05 17:05:54 +08:00
|
|
|
import { get, post } from '../../index'
|
|
|
|
|
|
|
|
|
|
export const getGoodsClassListApi = () => {
|
2024-11-22 15:35:30 +08:00
|
|
|
return get('/material-mall/maType/getEquipmentType', {})
|
2023-12-08 20:30:52 +08:00
|
|
|
}
|
2024-11-25 18:00:42 +08:00
|
|
|
export const getCompanyListApi = () => {
|
|
|
|
|
return get('/material-mall/dev/companyList', {})
|
|
|
|
|
}
|
2024-11-23 16:31:54 +08:00
|
|
|
export const getHotSearchListApi = () => {
|
|
|
|
|
return get('/material-mall/maType/getHotSearch', {})
|
|
|
|
|
}
|
2024-11-28 15:11:08 +08:00
|
|
|
export const getLeaseListApi = (data: any = {}) => {
|
|
|
|
|
return post('/material-mall/ma-lease/leaseList', data)
|
|
|
|
|
}
|
2024-12-01 16:21:35 +08:00
|
|
|
export const getBookCarDetailsApi = (data: any = {}) => {
|
|
|
|
|
return get('/material-mall/bookCar/getBookCarDetails', data)
|
|
|
|
|
}
|
2024-11-28 15:11:08 +08:00
|
|
|
export const getLeaseInfoByIdApi = (data: any = {}) => {
|
|
|
|
|
return get('/material-mall/ma-lease/getById', data)
|
|
|
|
|
}
|
2024-12-01 16:21:35 +08:00
|
|
|
export const getAreaApi = (data: any = {}) => {
|
|
|
|
|
return get('/material-mall/maType/getArea', data)
|
|
|
|
|
}
|
2024-11-28 15:11:08 +08:00
|
|
|
// 立即接单
|
|
|
|
|
export const setAcceptByIdApi = (data: any = {}) => {
|
|
|
|
|
return post('/material-mall/ma-lease/accept', data)
|
|
|
|
|
}
|
2023-12-09 17:03:25 +08:00
|
|
|
|
|
|
|
|
export const apiGetCollect = (params = {}) => {
|
2024-11-22 15:35:30 +08:00
|
|
|
return post('/zlpt-equip/dev/userCollectList', params)
|
2023-12-09 17:03:25 +08:00
|
|
|
}
|