This commit is contained in:
邹宗楠
2022-11-30 10:27:36 +08:00
parent b407ab7336
commit 5bdb3fe080
2 changed files with 3 additions and 5 deletions

View File

@@ -5,7 +5,6 @@ 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"
@@ -462,10 +461,6 @@ 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
}