예제 #1
0
def tc_parking_trade_parking_trade_before_pass(env, kwargs):
    conn = InvokeDubboApi(*TC[env.lower()])
    rs = conn.invoke_dubbo_api('cn.etcp.tradecenter.facade.ParkingTradeFacade',
                               'parkingTradeBeforePass', kwargs)
    return rs
예제 #2
0
def tc_open_trade_payment(env='qa', **kwargs):
    conn = InvokeDubboApi(*TC[env.lower()])
    rs = conn.invoke_dubbo_api('cn.etcp.tradecenter.facade.OpenTradeFacade',
                               'payment', kwargs)
    return rs
예제 #3
0
def tc_manual_trade_public_id_trade(env, kwargs):
    conn = InvokeDubboApi(*TC[env.lower()])
    rs = conn.invoke_dubbo_api('cn.etcp.tradecenter.facade.ManualTradeFacade',
                               'publicIdTrade', kwargs)
    return rs
예제 #4
0
def tc_query_order_query_order(*args, env='qa'):
    conn = InvokeDubboApi(*TC[env.lower()])
    rs = conn.invoke_dubbo_api('cn.etcp.tradecenter.facade.QueryOrderFacade',
                               'queryOrder', *args)
    return rs
예제 #5
0
def tc_query_order_polling(env, kwargs):
    conn = InvokeDubboApi(*TC[env.lower()])
    rs = conn.invoke_dubbo_api('cn.etcp.tradecenter.facade.QueryOrderFacade',
                               'queryOrderPolling', kwargs)
    return rs