Beispiel #1
0
def mgettest():
    # form = {'name': '2721'}
    # strret = PostGetHttp.posthttp(form,'http://localhost:8080/travel/user/gettest')

    strret = PostGetHttp.gethttp('localhost', '8080',
                                 '/travel/user/gettest?' + 'name=汪&page=1')
    return json.loads(strret)
Beispiel #2
0
def msearchUserByZonAndMob():
    # form = {'name': '2721'}
    # strret = PostGetHttp.posthttp(form,'http://localhost:8080/travel/user/gettest')

    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/searchUserByZonAndMob?' + 'zoneCode=0086&mobile=7177')
    return json.loads(strret)
Beispiel #3
0
def mvisitororderdetail():
    # form = {'name': '2721'}
    # strret = PostGetHttp.posthttp(form,'http://localhost:8080/travel/user/gettest')

    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/visitororderdetail?' + 'orderId=571')
    return json.loads(strret)
Beispiel #4
0
def mgetadjustmoneylist():
    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/getadjustmoneylist?' + 'userID=2721&status=0')
    return json.loads(strret)
Beispiel #5
0
def mguideorderlist():
    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/guideorderlist?' + 'userName=2721&mobile=0')
    return json.loads(strret)
Beispiel #6
0
def mgetbooking():
    strret = PostGetHttp.gethttp(
        'www.booking.com', None,
        "/hotel/jp/the-windsor-toya-resort-spa.zh-cn.html?label=gen173nr-1FCAQoggJCC2NvdW50cnlfMTA2SCtiBW5vcmVmaDGIAQGYATLCAQNhYm7IAQzYAQHoAQH4AQOoAgQ;sid=718527c0a27d241dded2b9240b0355b8;ucfs=1;room1=A,A;dest_type=country;dest_id=106;srfid=b3812e3e0e7d34f30972e7b91c257c0fc6b91a57X13"
    )
    return json.loads(strret)
Beispiel #7
0
def mgetVerifyImf():
    strret = PostGetHttp.gethttp('10.101.1.165', '8888',
                                 '/travel/user/getVerifyImf?' + 'userID=2726')
    return json.loads(strret)
Beispiel #8
0
def mgetMyCalendar():
    strret = PostGetHttp.gethttp(
        'localhost', '8080', '/travel/user/getMyCalendar?' + 'guiderID=10023')
    return json.loads(strret)
Beispiel #9
0
def mgetCashDetailByCashNo():
    strret = PostGetHttp.gethttp(
        '10.101.1.165', '8888',
        '/travel/order/getCashDetailByCashNo?' + 'cashNo=CA201609201739336992')
    return json.loads(strret)
Beispiel #10
0
def mgetWalletNumBer():
    strret = PostGetHttp.gethttp(
        '10.101.1.165', '8888',
        '/travel/order/getWalletDetail?' + 'userID=10063&page=1')
Beispiel #11
0
def mgetWalletNumBerItem():
    strret = PostGetHttp.gethttp(
        'localhost', '8080', '/travel/order/getWalletNumBerItem?' +
        'userID=2726&serialNumber=201608311954115617')
    return json.loads(strret)
Beispiel #12
0
def mgetBankAccountList():
    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/getBankAccountList?' + 'userID=2726')
    return json.loads(strret)
Beispiel #13
0
def mgetWalletDetail():
    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/getWalletDetail?' + 'userID=2726&page=1')
    return json.loads(strret)
Beispiel #14
0
def mgetBankList():
    strret = PostGetHttp.gethttp('localhost', '8080',
                                 '/travel/order/getBankList?')
    return json.loads(strret)
Beispiel #15
0
def mgetCashList():
    strret = PostGetHttp.gethttp(
        'localhost', '8080',
        '/travel/order/getCashList?' + 'cashID=1&status=1&guiderID=1')
    return json.loads(strret)