bug &&
This commit is contained in:
@@ -1500,7 +1500,7 @@ func TransferJdsOrder(ctx *jxcontext.Context, vendorOrderID string, storeID int)
|
||||
if order.Status >= model.OrderStatusDelivering && order.Status != model.OrderStatusCanceled {
|
||||
return "", fmt.Errorf("暂不支持此状态的订单进行转移!")
|
||||
}
|
||||
if order.VendorID != model.VendorIDJDShop || order.VendorID != model.VendorIDJX {
|
||||
if order.VendorID != model.VendorIDJDShop && order.VendorID != model.VendorIDJX {
|
||||
return "", fmt.Errorf("暂不支持该平台的订单进行转移!")
|
||||
}
|
||||
skus, err := dao.GetSimpleOrderSkus(db, vendorOrderID, nil)
|
||||
|
||||
Reference in New Issue
Block a user