提交促销以己部分页面商家端功能迁移,接口对接

This commit is contained in:
Yer11214
2024-10-05 14:33:37 +08:00
parent c03778676c
commit 9e630bb2ba
16 changed files with 958 additions and 263 deletions

View File

@@ -126,10 +126,7 @@ export const getAfterSaleOrderDetail = (sn) => {
export const getAfterSaleTraces = (sn) => {
return getRequest(`/order/afterSale/getDeliveryTraces/${sn}`)
}
// 获取商家选中的物流公司
export const getLogisticsChecked = () => {
return getRequest(`/other/logistics/getChecked`)
}
//查询物流
export const getTraces = (sn, params) => {
@@ -165,3 +162,14 @@ export const storeAddress = (sn) => {
export const orderTake = (sn, verificationCode) => {
return putRequest(`/order/order/take/${sn}/${verificationCode}`);
};
//分包裹发货
export const partDelivery = (orderSn,params) => {
return postRequest(`/order/order/${orderSn}/partDelivery`,params,{
"Content-type": "application/json"
})
}
// 修改订单备注
export const modifyOrderRemark = (sn, params) => {
return putRequest(`/order/order/${sn}/sellerRemark`, params);
};