Files
baseapi/platform/elmapi/order.go
2018-06-14 14:45:19 +08:00

14 lines
340 B
Go

package elmapi
func (e *ELMAPI) GetOrder(orderId string) (map[string]interface{}, error) {
result, err := e.AccessELM("eleme.order.getOrder", map[string]interface{}{
"orderId": orderId,
})
if err == nil {
innerResult := map[string]interface{}(result.Result.(map[string]interface{}))
return innerResult, nil
}
return nil, err
}