1
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -595,6 +596,9 @@ func (a *API) OrderLogisticsChange2Self(orderID int64) (err error) {
|
||||
_, err = a.AccessAPI("order/logistics/change/poi_self", false, map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
})
|
||||
if strings.Contains(err.Error(), "1047") {
|
||||
return a.OrderDelivering(orderID)
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user