- replace orderId with orderID.

This commit is contained in:
gazebo
2018-07-19 18:02:57 +08:00
parent 553e929c11
commit 76d0c7295c

View File

@@ -58,9 +58,9 @@ type CancelOrderResponse struct {
DeductFee float64 `json:"deduct_fee"`
}
func (a *API) QueryOrderInfo(orderId string) (retVal map[string]interface{}, err error) {
func (a *API) QueryOrderInfo(orderID string) (retVal map[string]interface{}, err error) {
params := make(map[string]interface{})
params["order_id"] = orderId
params["order_id"] = orderID
result, err := a.AccessAPI("api/order/status/query", params)
if err != nil {
return nil, err