| | |
| | | return request.post('/business/goods/create', data) |
| | | } |
| | | |
| | | // 企业新建商品 |
| | | export function companyCreate (data) { |
| | | return request.post('/business/goods/companyCreate', data) |
| | | } |
| | | |
| | | // 修改 |
| | | export function updateById (data) { |
| | | return request.post('/business/goods/updateById', data) |
| | | } |
| | | |
| | | // 企业根据ID修改 |
| | | export function companyUpdateById (data) { |
| | | return request.post('/business/goods/companyUpdateById', data) |
| | | } |
| | | |
| | | // 批量修改状态 |
| | | export function batchUpdateDisableById (data) { |
| | | return request.post('/business/goods/batchUpdateDisableById', data) |
| | | } |
| | | |
| | | // 从平台选择商品 |
| | | export function createPlat (data) { |
| | | return request.post('/business/goods/createPlat', data) |
| | | } |
| | | |
| | | // 分页查询 |
| | | export function pageT (data) { |
| | | return request.post('/business/baseGoods/page', data) |
| | | } |
| | | |
| | | // 删除 |
| | | export function deleteById (id) { |
| | | return request.get(`/business/goods/delete/${id}`) |