29 lines
537 B
JavaScript
29 lines
537 B
JavaScript
import request from "@/utils/request.js";
|
|
|
|
/**
|
|
* 获取里海云仓大分类
|
|
* @param
|
|
*/
|
|
export function getCategory(id, pid) {
|
|
let par = {};
|
|
if (pid) {
|
|
par['pid'] = pid;
|
|
}
|
|
return request.get("store/merchant/category/lst/" + id, par);
|
|
}
|
|
|
|
/**
|
|
* 获取里海云仓比例
|
|
* @param
|
|
*/
|
|
export function getProportion(data) {
|
|
return request.get("product/spu/storeLabel", data);
|
|
}
|
|
|
|
/**
|
|
* 里海云仓商品列表
|
|
* @param
|
|
*/
|
|
export function goodsList(data) {
|
|
return request.get("product/spu/merchant/" + data.mer_id, data);
|
|
} |