import request from '../../utils/request'
|
|
export function fetchList (data) {
|
return request.post('/business/shopInfo/page', data, {
|
trim: true
|
})
|
}
|
|
export function create (data) {
|
return request.post('/business/shopInfo/create', data)
|
}
|
|
export function updateStatus (data) {
|
return request.post('/business/shopInfo/updateStatus', data)
|
}
|
|
export function updateById (data) {
|
return request.post('/business/shopInfo/updateById', data)
|
}
|
|
export function deleteById (id) {
|
return request.get(`/business/shopInfo/delete/${id}`)
|
}
|
|
export function deleteByIdInBatch (ids) {
|
return request.get('/business/shopInfo/delete/batch', {
|
params: {
|
ids
|
}
|
})
|
}
|