1
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -85,8 +84,7 @@ func (a *API) CreateOrder(createOrderParam *CreateOrderReqParam) (result string,
|
||||
return "", err
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("CreateOrder =======resultData := %s", utils.Format4Output(resultData, false))
|
||||
if utils.Interface2String(resultData["code"]) != "200" || utils.Interface2String(resultData["apiCode"]) != "" {
|
||||
if utils.Interface2String(resultData["code"]) != "200" {
|
||||
return "", fmt.Errorf(fmt.Sprintf("其他异常错误信息:%s", utils.Interface2String(resultData["apiCode"])))
|
||||
}
|
||||
if orderId, ok := resultData["business_data"]; ok {
|
||||
|
||||
Reference in New Issue
Block a user