new_shop_app/api/cloud_warehouse.js
2024-03-02 11:47:03 +08:00

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);
}