- replace orderId with orderID.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user