1
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/baseapi/platformapi"
|
"git.rosy.net.cn/baseapi/platformapi"
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
|
"git.rosy.net.cn/jx-callback/globals"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"sort"
|
"sort"
|
||||||
@@ -461,6 +462,10 @@ type PreCreateByShopParam struct {
|
|||||||
func (a *API) PreCreateByShop(basicParams *PreCreateByShopParam) (deliveryFee, baseDeliveryFee int64, err error) {
|
func (a *API) PreCreateByShop(basicParams *PreCreateByShopParam) (deliveryFee, baseDeliveryFee int64, err error) {
|
||||||
params := utils.Struct2MapByJson(basicParams)
|
params := utils.Struct2MapByJson(basicParams)
|
||||||
result, err := a.AccessAPI("order/preCreateByShop", params)
|
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 {
|
if err != nil {
|
||||||
return 0, 0, err
|
return 0, 0, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user