From b407ab733613a7cc7254a59fa108f2eb47778303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 25 Nov 2022 16:57:49 +0800 Subject: [PATCH] 1 --- platformapi/mtpsapi/mtpsapi.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platformapi/mtpsapi/mtpsapi.go b/platformapi/mtpsapi/mtpsapi.go index 0c427157..92e447dc 100644 --- a/platformapi/mtpsapi/mtpsapi.go +++ b/platformapi/mtpsapi/mtpsapi.go @@ -5,6 +5,7 @@ import ( "fmt" "git.rosy.net.cn/baseapi/platformapi" "git.rosy.net.cn/baseapi/utils" + "git.rosy.net.cn/jx-callback/globals" "net/http" "net/url" "sort" @@ -461,6 +462,10 @@ type PreCreateByShopParam struct { func (a *API) PreCreateByShop(basicParams *PreCreateByShopParam) (deliveryFee, baseDeliveryFee int64, err error) { params := utils.Struct2MapByJson(basicParams) result, err := a.AccessAPI("order/preCreateByShop", params) + globals.SugarLogger.Debugf("=====result====: %s", utils.Format4Output(result, false)) + globals.SugarLogger.Debugf("=====result====: %s", utils.Format4Output(err, false)) + globals.SugarLogger.Debugf("=====basicParams====: %s", utils.Format4Output(basicParams, false)) + globals.SugarLogger.Debugf("=====basicParams====: %s", utils.Format4Output(a, false)) if err != nil { return 0, 0, err }