From aaaecabb9a08548e25e6eae5d7b9c6751fce20a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 18 May 2023 11:44:36 +0800 Subject: [PATCH] 1 --- platformapi/fnpsapi/order.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platformapi/fnpsapi/order.go b/platformapi/fnpsapi/order.go index fbd8f63e..06ddc21c 100644 --- a/platformapi/fnpsapi/order.go +++ b/platformapi/fnpsapi/order.go @@ -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 {