Method: Fengqiao::Service#route

Defined in:
lib/fengqiao/service.rb

#route(tracking_type = "1", tracking_number) ⇒ Object

2 tracking_number String(4000) 是查询号: 如果tracking_type=1,则此值为顺丰运单号如果tracking_type=2,则此值为客户订单号如果tracking_type=3,则此值为逆向单原始订单号如果有多个单号,以逗号分隔,如“123,124,125”。



51
52
53
54
55
56
# File 'lib/fengqiao/service.rb', line 51

def route(tracking_type="1", tracking_number)
  package('RouteService', 'RouteRequest', 
    'tracking_type' => tracking_type,
    'tracking_number' => tracking_number
  )
end