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 }