- replace orderId with orderID.
This commit is contained in:
@@ -58,9 +58,9 @@ type CancelOrderResponse struct {
|
|||||||
DeductFee float64 `json:"deduct_fee"`
|
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 := make(map[string]interface{})
|
||||||
params["order_id"] = orderId
|
params["order_id"] = orderID
|
||||||
result, err := a.AccessAPI("api/order/status/query", params)
|
result, err := a.AccessAPI("api/order/status/query", params)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user