|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 修改 | 
|---|
|  |  |  | export function updateById (data) { | 
|---|
|  |  |  | return request.post('/business/baseGoods/updateById', data) | 
|---|
|  |  |  | return request.post('/business/baseGoods/update', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 删除 | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 修改状态 | 
|---|
|  |  |  | export function updateDisableById (data) { | 
|---|
|  |  |  | return request.post('/business/baseGoods/updateDisableById', data) | 
|---|
|  |  |  | export function updateStatus (data) { | 
|---|
|  |  |  | return request.post('/business/baseGoods/updateStatus', data) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | /*export function updateStatusById (data) { | 
|---|
|  |  |  | return request.post('/business/baseGoods/updateStatusById', data) | 
|---|
|  |  |  | }*/ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 列表 - 商品选择 | 
|---|
|  |  |  | export function findListForbaseGoodsId (goodsId) { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 根据ID查询 | 
|---|
|  |  |  | export function queryById (id) { | 
|---|
|  |  |  | return request.get(`business/baseGoods/${id}`) | 
|---|
|  |  |  | return request.get(`/business/baseGoods/${id}`) | 
|---|
|  |  |  | } | 
|---|