1
This commit is contained in:
@@ -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"]))
|
||||
|
||||
Reference in New Issue
Block a user