sfps
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user