多租户商城-商户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

179 lines
3.0 KiB

import request from '@/utils/request'
//* ******************** 添加商品 *********************
// 店铺信息查询
export function shopSysGetById(data) {
return request({
url: '/shop/getById',
method: 'post',
data
})
}
// 修改店铺信息
export function shopSysUpdate(data) {
return request({
url: '/shop/update',
method: 'post',
data
})
}
// 支付认证
export function registerByXs(data) {
return request({
url: '/shop/registerByXs',
method: 'post',
data
})
}
//* ******************** 物流方案 *********************
// 物流方案查询
export function logisticsGetAll(data) {
return request({
url: '/logistics/getAll',
method: 'post',
data
})
}
// 物流方案详情
export function logisticsGetById(data) {
return request({
url: '/logistics/getById',
method: 'post',
data
})
}
// 添加物流方案
export function logisticsAdd(data) {
return request({
url: '/logistics/save',
method: 'post',
data
})
}
// 修改物流方案
export function logisticsUpdate(data) {
return request({
url: '/logistics/update',
method: 'post',
data
})
}
// 删除物流方案
export function logisticsDelete(data) {
return request({
url: '/logistics/delete',
method: 'post',
data
})
}
//* ******************** 仓库 *********************
// 仓库查询
export function storehouseGetList(data) {
return request({
url: '/storehouse/getList',
method: 'post',
data
})
}
export function storehouseGetAll(data) {
return request({
url: '/storehouse/getAll',
method: 'post',
data
})
}
// 仓库详情
export function storehouseGetById(data) {
return request({
url: '/storehouse/getById',
method: 'post',
data
})
}
// 添加仓库
export function storehouseAdd(data) {
return request({
url: '/storehouse/save',
method: 'post',
data
})
}
// 修改仓库
export function storehouseUpdate(data) {
return request({
url: '/storehouse/update',
method: 'post',
data
})
}
// 删除仓库
export function storehouseDelete(data) {
return request({
url: '/storehouse/delete',
method: 'post',
data
})
}
//* ******************** 跨境信息 *********************
// 获取全部
export function shopcrossdetailGetAll(data) {
return request({
url: '/shopcrossdetail/getAll',
method: 'post',
data
})
}
// 单个详情
export function shopcrossdetailGetById(data) {
return request({
url: '/shopcrossdetail/getById',
method: 'post',
data
})
}
// 添加
export function shopcrossdetailAdd(data) {
return request({
url: '/shopcrossdetail/save',
method: 'post',
data
})
}
// 修改
export function shopcrossdetailUpdate(data) {
return request({
url: '/shopcrossdetail/update',
method: 'post',
data
})
}
// 删除
export function shopcrossdetailDelete(data) {
return request({
url: '/shopcrossdetail/delete',
method: 'post',
data
})
}