This commit is contained in:
邹宗楠
2024-05-24 10:04:33 +08:00
parent faa893253e
commit a424aab64c

View File

@@ -417,9 +417,6 @@ func (p *PurchaseHandler) ConfirmReceiveGoods(ctx *jxcontext.Context, order *mod
// 将订单从购物平台配送转为自送
func (p *PurchaseHandler) Swtich2SelfDeliver(order *model.GoodsOrder, userName string) (err error) {
if strings.Contains(order.ConsigneeAddress, "隐私保护") {
return fmt.Errorf("用户地址隐私保护中,商家无法转自配送")
}
if globals.EnableEbaiStoreWrite {
deliveryStatusObj, _ := api.EbaiAPI.OrderDeliveryGet(order.VendorOrderID)
deliveryStatus := utils.Int64ToStr(utils.MustInterface2Int64(deliveryStatusObj["status"]))