- add elm ConfirmOrder.
This commit is contained in:
@@ -21,3 +21,11 @@ func (a *API) GetOrder(orderID string) (map[string]interface{}, error) {
|
||||
|
||||
return nil, err
|
||||
}
|
||||
|
||||
func (a *API) ConfirmOrder(orderID string) error {
|
||||
_, err := a.AccessAPI("eleme.order.confirmOrderLite", map[string]interface{}{
|
||||
"orderId": orderID,
|
||||
})
|
||||
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user