From f9c168a1c4a3e5860bb7520b9a35e6e026080327 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 29 May 2023 15:01:49 +0800 Subject: [PATCH] sfps --- platformapi/sfps2/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/sfps2/order.go b/platformapi/sfps2/order.go index 3985e313..437a4d5d 100644 --- a/platformapi/sfps2/order.go +++ b/platformapi/sfps2/order.go @@ -26,7 +26,7 @@ func (a *API) PreCreateOrder(preOrder *PreCreateOrderReq) (price float64, err er s, _ := json.Marshal(resp.BaseRetVal.Result) if err = json.Unmarshal(s, &retVal); err == nil { globals.SugarLogger.Debugf("PreCreateOrder resp=%s", utils.Format4Output(retVal, false)) - return retVal.EstimatePayMoney, nil + return retVal.ChargePriceList.ShopPayPrice, nil } else { return 0, err }