| | |
| | | trim: true |
| | | }) |
| | | } |
| | | export function allList (data) { |
| | | return request.post('/business/shop/findAll', data, { |
| | | trim: true |
| | | }) |
| | | } |
| | | |
| | | // 创建 |
| | | export function create (data) { |
| | |
| | | export function updateById (data) { |
| | | return request.post('/business/shop/updateById', data) |
| | | } |
| | | |
| | | // 修改 |
| | | export function updateIsRecById (data) { |
| | | return request.post('/business/shop/updateIsRecById', data) |
| | | } |
| | | export function setGoodsPrice (data) { |
| | | return request.post('/business/shop/setGoodsPrice', data) |
| | | } |
| | | |
| | | // 删除 |
| | |
| | | export function shopDetail (id) { |
| | | return request.get(`/business/shop/${id}`) |
| | | } |
| | | // 重置密码 |
| | | export function resetPwd (data) { |
| | | return request.post('/business/shop/resetPwd', data) |
| | | } |
| | | |
| | | // 批量删除 |
| | | export function deleteByIdInBatch (ids) { |