mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 01:15:53 +08:00
feat: ✨ 集成顺丰平台,发货,查询物流,打印面单
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
postRequest,
|
||||
putRequest,
|
||||
deleteRequest,
|
||||
getRequestHasHeader,
|
||||
importRequest,
|
||||
getRequestWithNoToken
|
||||
} from "@/libs/axios";
|
||||
@@ -35,4 +36,13 @@ export const getCheckedOn = params =>{
|
||||
return getRequest(`/other/logistics/getCheckedFaceSheet`,params);
|
||||
}
|
||||
|
||||
//获取物流设置
|
||||
export const getLogisticsSetting = () =>{
|
||||
return getRequest(`/other/logistics/setting`);
|
||||
}
|
||||
|
||||
export const getShunFengFaceSheet = (url,headers) =>{
|
||||
return getRequestHasHeader(`${url}`,null,headers);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -81,6 +81,11 @@ export const orderDelivery = (sn, params) => {
|
||||
return postRequest(`/order/order/${sn}/delivery`, params);
|
||||
};
|
||||
|
||||
// 订单发货
|
||||
export const orderShunFengDelivery = (sn) => {
|
||||
return postRequest(`/order/order/${sn}/shunfeng/delivery`);
|
||||
};
|
||||
|
||||
// 获取商家选中的物流公司
|
||||
export const getLogisticsChecked = () => {
|
||||
return getRequest(`/other/logistics/getChecked`);
|
||||
|
||||
Reference in New Issue
Block a user