This commit is contained in:
邹宗楠
2022-04-16 18:54:31 +08:00
parent 7b9f8b914e
commit 4857c0bfb8

View File

@@ -1,9 +1,9 @@
package mtwmapi package mtwmapi
import ( import (
"errors"
"git.rosy.net.cn/baseapi/utils" "git.rosy.net.cn/baseapi/utils"
"time" "time"
"errors"
) )
const ( const (
@@ -398,7 +398,7 @@ func (a *API) OrderDelivering(orderID int64) (err error) {
return err return err
} }
if retval.(map[string]interface{})["data"] != "ok" { if retval.(map[string]interface{})["data"] != "ok" {
return errors.New(utils.Interface2String(retval.(map[string]interface{})["msg"])) return errors.New("商家转自送异常")
} }
return err return err
} }