- add elm ConfirmOrder.

This commit is contained in:
gazebo
2018-07-02 12:35:05 +08:00
parent 1f22b95ee2
commit bba8233efd
2 changed files with 15 additions and 0 deletions

View File

@@ -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
}