nk-shop2.0/api/cloud_warehouse.js
DESKTOP-GMUNQ1B\k e1fbe7893a 接口修改
2024-03-02 14:21:16 +08:00

37 lines
672 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);
}
/**
* 里海云仓商品列表
* @param
*/
export function getStorageList(data) {
return request.get("product/spu/lst", data);
}