This commit is contained in:
邹宗楠
2025-06-30 10:13:46 +08:00
parent 0599a21bce
commit f08b6e11b3
6 changed files with 13 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ import (
"errors"
"fmt"
"git.rosy.net.cn/baseapi/utils"
"strings"
"time"
)
@@ -419,6 +420,9 @@ func (a *API) OrderLogisticsChange2Self(orderID int64) (err error) {
_, err = a.AccessAPI("order/logistics/change/poi_self", false, map[string]interface{}{
KeyOrderID: orderID,
})
if err != nil && strings.Contains(err.Error(), "您的配送单已取消") {
return nil
}
return err
}