京东api区分vendorOrgCode
This commit is contained in:
@@ -1005,7 +1005,7 @@ func CreateConsumerFromOrders(ctx *jxcontext.Context, vendorIDs []int, fromDate,
|
||||
}
|
||||
}
|
||||
if order2 == nil && order.VendorID == model.VendorIDMTWM && time.Now().Sub(curDate) < 60*24*time.Hour {
|
||||
order2, err = handler.GetOrder(order.VendorOrderID)
|
||||
order2, err = handler.GetOrder(order.VendorOrgCode, order.VendorOrderID)
|
||||
}
|
||||
if order2 != nil {
|
||||
if order2.VendorUserID != "" && order.VendorUserID != order2.VendorUserID {
|
||||
|
||||
Reference in New Issue
Block a user