def onOrder(self, order):
    '订单变化推送'
    event1 = Event(type_=EVENT_ORDER)
    event1.dict_['data'] = order
    self.eventEngine.put(event1)
    event2 = Event(type_=(EVENT_ORDER + order.vtOrderID))
    event2.dict_['data'] = order
    self.eventEngine.put(event2)
订单变化推送
def onOrder(self, order):
    
    event1 = Event(type_=EVENT_ORDER)
    event1.dict_['data'] = order
    self.eventEngine.put(event1)
    event2 = Event(type_=(EVENT_ORDER + order.vtOrderID))
    event2.dict_['data'] = order
    self.eventEngine.put(event2)