电子面单页面,导入商品

This commit is contained in:
chc
2022-09-01 18:52:11 +08:00
parent 9ce3a5e916
commit 2aceffc112
8 changed files with 271 additions and 28 deletions

View File

@@ -48,7 +48,17 @@ export const getIsCheck =(logisticsId) =>{
// 开启物流公司
export const logisticsChecked = (id, params) => {
return postRequest(`/other/logistics/${id}`, params)
return postRequest(`/other/logistics/${id}`, params, {
"Content-type": "application/json"
})
}
//获取发货地址
export const getDeliverAddress = () =>{
return getRequest(`/settings/storeSettings/storeDeliverGoodsAddress`)
}
//修改发货地址
export const editDeliverAddress = (params) =>{
return putRequest(`/settings/storeSettings/storeDeliverGoodsAddress`,params)
}
// 关闭开启物流公司