mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
商家端商品发布查询功能
This commit is contained in:
@@ -257,3 +257,28 @@ export function editGoods(goodsId, params) {
|
||||
"Content-Type": "application/json"
|
||||
});
|
||||
}
|
||||
|
||||
//根据分类id获取关联品牌
|
||||
export const getCategoryBrandListDataSeller = (category_id, params) => {
|
||||
return getRequest(`/goods/category/${category_id}/brands`, params);
|
||||
};
|
||||
|
||||
//查询分类绑定参数信息
|
||||
export const getCategoryParamsListDataSeller = (id, params) => {
|
||||
return getRequest(`/goods/categoryParameters/${id}`, params);
|
||||
};
|
||||
|
||||
// 获取商品详情
|
||||
export const getGoods = id => {
|
||||
return getRequest(`/goods/goods/get/${id}`);
|
||||
};
|
||||
|
||||
//保存获取关联规格
|
||||
export const getGoodsSpecInfoSeller = (category_id) => {
|
||||
return getRequest(`/goods/spec/${category_id}`);
|
||||
};
|
||||
|
||||
// 获取商品单位列表
|
||||
export const getGoodsUnitList = params => {
|
||||
return getRequest(`/goods/goodsUnit`,params);
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ export const downloadBill = (id) => {
|
||||
return getRequest(`/order/bill/downLoad/${id}`, {}, 'blob')
|
||||
}
|
||||
|
||||
// 获取物流模版
|
||||
export const getShipTemplate = (id) => {
|
||||
return getRequest(`/order/bill/shipTemplate`)
|
||||
//查询运费模板
|
||||
export const getShipTemplate = () => {
|
||||
return getRequest(`/setting/freightTemplate`)
|
||||
}
|
||||
|
||||
export const replyMemberComment = (id, params) => {
|
||||
|
||||
Reference in New Issue
Block a user