Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

当多个节点有相同名字但是内容不同的时候,生成的类名是相同的,导致导入项目中的时候不好识别。 #3

Open
cheniqit opened this issue Mar 16, 2016 · 0 comments

Comments

@cheniqit
Copy link

当多个节点有相同名字但是内容不同的时候,生成的类名是相同的,导致导入项目中的时候不好识别。
如下json,生成的关于category1涉及到多个。

{
"is_user_city": "1",
"count": "8044",
"suggestion": {
"cities": [],
"keywords": []
},
"classify": {
"classifyex": {
"nearby": {
"enable": "1"
},
"district": {
"enable": "1",
"adcode": "310000"
},
"subway": {
"enable": "1",
"adcode": "310000"
}
},
"category": {
"name": "全部分类",
"category1": [
{
"name": "全部分类",
"value": "filter_keywords=住宿服务相关",
"checkedvalue": "filter_keywords=住宿服务相关"
},
{
"name": "价格",
"category2": [
{
"name": "¥100以内",
"value": "category=1001|1002;result_filter=price_lowest:0100"
},
{
"name": "¥101-¥300",
"value": "category=1001|1002;result_filter=price_lowest:101
300"
},
{
"name": "¥301-¥450",
"value": "category=1001|1002;result_filter=price_lowest:301450"
},
{
"name": "¥451-¥600",
"value": "category=1001|1002;result_filter=price_lowest:451
600"
},
{
"name": "¥601-¥1000",
"value": "category=1001|1002;result_filter=price_lowest:6011000"
},
{
"name": "¥1000以上",
"value": "category=1001|1002;result_filter=price_lowest:1000
"
}
]
},
{
"name": "星级",
"category2": [
{
"name": "五星级酒店",
"value": "category=1001|1002;custom=star:5"
},
{
"name": "四星级酒店",
"value": "category=1001|1002;custom=star:4"
},
{
"name": "三星级酒店",
"value": "category=1001|1002;custom=star:3"
},
{
"name": "三星级以下",
"value": "category=1001|1002;custom=star:1|2"
}
]
},
{
"name": "类型",
"category2": [
{
"name": "快捷酒店",
"value": "category=100105"
},
{
"name": "旅馆招待所",
"value": "category=100200"
},
{
"name": "客栈/青年旅社",
"value": "category=100201"
},
{
"name": "度假公寓",
"value": "category=10;custom=deeptype:tujia"
}
]
},
{
"name": "品牌",
"category2": [
{
"name": "7天酒店",
"grade": "经济型",
"value": "category=10;brand_name=7天酒店"
},
{
"name": "如家快捷",
"grade": "经济型",
"value": "category=10;brand_name=如家快捷"
},
{
"name": "汉庭酒店",
"grade": "经济型",
"value": "category=10;brand_name=汉庭酒店"
},
{
"name": "速8",
"grade": "经济型",
"value": "category=10;brand_name=速8"
},
{
"name": "格林豪泰",
"grade": "经济型",
"value": "category=10;brand_name=格林豪泰"
},
{
"name": "锦江之星",
"grade": "经济型",
"value": "category=10;brand_name=锦江之星"
},
{
"name": "锦江酒店",
"grade": "高档型",
"value": "category=10;brand_name=锦江酒店"
},
{
"name": "桔子水晶",
"grade": "高档型",
"value": "category=10;brand_name=桔子水晶"
},
{
"name": "戴斯",
"grade": "高档型",
"value": "category=10;brand_name=戴斯"
},
{
"name": "丽亭",
"grade": "高档型",
"value": "category=10;brand_name=丽亭"
},
{
"name": "诺富特",
"grade": "高档型",
"value": "category=10;brand_name=诺富特"
},
{
"name": "澳斯特",
"grade": "高档型",
"value": "category=10;brand_name=澳斯特"
},
{
"name": "喜来登",
"grade": "豪华型",
"value": "category=10;brand_name=喜来登"
},
{
"name": "香格里拉",
"grade": "豪华型",
"value": "category=10;brand_name=香格里拉"
},
{
"name": "凯宾斯基",
"grade": "豪华型",
"value": "category=10;brand_name=凯宾斯基"
},
{
"name": "希尔顿",
"grade": "豪华型",
"value": "category=10;brand_name=希尔顿"
},
{
"name": "威斯汀",
"grade": "豪华型",
"value": "category=10;brand_name=威斯汀"
},
{
"name": "万豪",
"grade": "豪华型",
"value": "category=10;brand_name=万豪"
}
]
}
]
},
"filter": {
"name": "排序",
"checkedvalue": "sort_rule=0;reserved_keywords=true",
"rule": [
{
"name": "推荐排序",
"value": "sort_rule=0;reserved_keywords=true"
},
{
"name": "距离优先",
"value": "sort_rule=1;reserved_keywords=true"
},
{
"name": "高性价比优先",
"value": "sort_rule=5;sort_fields=hotel_discount:d;reserved_keywords=true"
},
{
"name": "好评优先",
"value": "sort_rule=5;sort_fields=rating:d;reserved_keywords=true"
},
{
"name": "低价优先",
"value": "sort_rule=5;sort_fields=price_lowest:a0;reserved_keywords=true"
},
{
"name": "高价优先",
"value": "sort_rule=5;sort_fields=price_lowest:d;reserved_keywords=true"
}
]
},
"business_area": {
"range": {
"name": "默认距离",
"checkedvalue": "query_type=tquery;tquery_filterbox_flag=1",
"distance": {
"metre": [
{
"name": "500米",
"default": "0",
"value": "query_type=rqbxy;range=500"
},
{
"name": "1000米",
"default": "0",
"value": "query_type=rqbxy;range=1000"
},
{
"name": "2000米",
"default": "0",
"value": "query_type=rqbxy;range=2000"
},
{
"name": "5000米",
"default": "0",
"value": "query_type=rqbxy;range=5000"
},
{
"name": "全城",
"default": "1",
"value": "query_type=tquery;tquery_filterbox_flag=1"
}
]
}
},
"category1": [
{
"name": "浦东新区",
"location": "adcode=310000;type=business_area;name=浦东新区"
},
{
"name": "徐汇区",
"location": "adcode=310000;type=business_area;name=徐汇区"
},
{
"name": "闵行区",
"location": "adcode=310000;type=business_area;name=闵行区"
},
{
"name": "普陀区",
"location": "adcode=310000;type=business_area;name=普陀区"
},
{
"name": "宝山区",
"location": "adcode=310000;type=business_area;name=宝山区"
},
{
"name": "杨浦区",
"location": "adcode=310000;type=business_area;name=杨浦区"
},
{
"name": "闸北区",
"location": "adcode=310000;type=business_area;name=闸北区"
},
{
"name": "长宁区",
"location": "adcode=310000;type=business_area;name=长宁区"
},
{
"name": "黄浦区",
"location": "adcode=310000;type=business_area;name=黄浦区"
},
{
"name": "虹口区",
"location": "adcode=310000;type=business_area;name=虹口区"
},
{
"name": "松江区",
"location": "adcode=310000;type=business_area;name=松江区"
},
{
"name": "静安区",
"location": "adcode=310000;type=business_area;name=静安区"
},
{
"name": "嘉定区",
"location": "adcode=310000;type=business_area;name=嘉定区"
},
{
"name": "金山区",
"location": "adcode=310000;type=business_area;name=金山区"
},
{
"name": "奉贤区",
"location": "adcode=310000;type=business_area;name=奉贤区"
},
{
"name": "青浦区",
"location": "adcode=310000;type=business_area;name=青浦区"
},
{
"name": "崇明县",
"location": "adcode=310000;type=business_area;name=崇明县"
}
]
},
"subway": {
"category1": [
{
"name": "1号线",
"location": "adcode=310000;type=subway_area;name=1号线"
},
{
"name": "2号线",
"location": "adcode=310000;type=subway_area;name=2号线"
},
{
"name": "3号线",
"location": "adcode=310000;type=subway_area;name=3号线"
},
{
"name": "4号线",
"location": "adcode=310000;type=subway_area;name=4号线"
},
{
"name": "5号线",
"location": "adcode=310000;type=subway_area;name=5号线"
},
{
"name": "6号线",
"location": "adcode=310000;type=subway_area;name=6号线"
},
{
"name": "7号线",
"location": "adcode=310000;type=subway_area;name=7号线"
},
{
"name": "8号线",
"location": "adcode=310000;type=subway_area;name=8号线"
},
{
"name": "9号线",
"location": "adcode=310000;type=subway_area;name=9号线"
},
{
"name": "10号线",
"location": "adcode=310000;type=subway_area;name=10号线"
},
{
"name": "11号线",
"location": "adcode=310000;type=subway_area;name=11号线"
},
{
"name": "12号线",
"location": "adcode=310000;type=subway_area;name=12号线"
},
{
"name": "13号线",
"location": "adcode=310000;type=subway_area;name=13号线"
},
{
"name": "16号线",
"location": "adcode=310000;type=subway_area;name=16号线"
},
{
"name": "磁悬浮",
"location": "adcode=310000;type=subway_area;name=磁悬浮"
}
]
}
},
"queryinfo": {
"search_type": "category",
"biz_ext_type": "hotel"
},
"info": "OK",
"pois": [
{
"rating": "4.7",
"event": {
"film_count": "0",
"comment_count": "2521",
"groupbuy": {
"count": "1",
"groupcount": "1",
"suggests": [
{
"original_price": "268",
"title": "巧克力摩丝蛋糕1个,约1磅,多形状",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/27008137.html?nodown?nodown&webview",
"price": "85",
"discount": "3.2",
"src": "groupbuy_meituan2_api",
"group_id": "27008137",
"id": "B001558ILU_268.00_85.00",
"photo_url": "http://store.is.autonavi.com/showpic/ffa8bbc83bb0f3a6bbda436e5ea8bdb9"
}
],
"sold_num": "66",
"lowest_price": 85,
"lowest_discount": 3.2
},
"discount": []
},
"lowest_price": "1462",
"photo_url": "http://store.is.autonavi.com/showpic/7737abadfe412d23f232d35cabc153c4",
"id": "B001558ILU",
"name": "上海世茂皇家艾美酒店",
"tag": [],
"type": "住宿服务;宾馆酒店;五星级宾馆",
"score": "0",
"typecode": "100102",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "681",
"bad_comments_num": "21",
"total_comments_num": "702"
},
"rating": "4.7",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": "1",
"star": "五星级",
"lowest_price": "1462",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "九江路768号",
"location": "121.47577,31.234402",
"tel": "021-33189999",
"postcode": "200001",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638800",
"distance": "422米",
"alias": [],
"navi_poiid": "H51F010012_4994",
"entr_location": "121.476739,31.234282",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "1",
"discount_num": "0",
"business_area": [],
"free_parking_flag": "1",
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "8",
"types": [
{
"network": "有线宽带|无线宽带",
"floor": "31-43",
"lowest_price": "1462",
"roomgroup_id": "12001",
"area": [],
"bed": "大床或双床(1.8or1米)",
"type": "豪华房",
"pic_url": "http://store.is.autonavi.com/showpic/a5399ad31e014922e9f08e5eece13e39"
}
]
}
},
{
"rating": "4.4",
"event": {
"film_count": "0",
"comment_count": "3362",
"groupbuy": {
"count": "4",
"groupcount": "4",
"suggests": [
{
"original_price": "181.7",
"title": "法式经典双人下午茶1套,有赠品,提供免费WiFi",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/30665360.html?nodown?nodown&webview",
"price": "128",
"discount": "7.0",
"src": "groupbuy_meituan2_api",
"group_id": "30665360",
"id": "B00155R1GE_181.70_128.00",
"photo_url": "http://store.is.autonavi.com/showpic/aaaeadfa4730ba955081f647a8f532e9"
},
{
"original_price": "1450",
"title": [],
"url": "http://u.ctrip.com/union/CtripRedirect.aspx?TypeID=692&productid=4319272&sourceid=&sid=445102&allianceid=18068&ouid=",
"price": "1028",
"discount": "7.1",
"src": "groupbuy_xiecheng2_tuangou_api",
"group_id": "4319272",
"id": "B00155R1GE_1450.00_1028.00",
"photo_url": "http://store.is.autonavi.com/showpic/2ad98e40aeb659435d915cfe13119ec0"
},
{
"original_price": "1450",
"title": [],
"url": "http://u.ctrip.com/union/CtripRedirect.aspx?TypeID=692&productid=4319249&sourceid=&sid=445102&allianceid=18068&ouid=",
"price": "798",
"discount": "5.5",
"src": "groupbuy_xiecheng2_tuangou_api",
"group_id": "4319249",
"id": "B00155R1GE_1450.00_798.00",
"photo_url": "http://store.is.autonavi.com/showpic/f05a5e1467cd0fb22ca48c60c1ad59f3"
}
],
"sold_num": "4129",
"lowest_price": 128,
"lowest_discount": 5.5
},
"discount": []
},
"lowest_price": "683",
"photo_url": "http://store.is.autonavi.com/showpic/7408a0a332d30d3d13ea1818246adc7c",
"id": "B00155R1GE",
"name": "国际饭店",
"tag": [],
"type": "住宿服务;宾馆酒店;四星级宾馆",
"score": "0",
"typecode": "100103",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "545",
"bad_comments_num": "15",
"total_comments_num": "560"
},
"rating": "4.4",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "四星级",
"lowest_price": "683",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "南京西路170号",
"location": "121.471539,31.233689",
"tel": "021-63275225",
"postcode": "200003",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638702",
"distance": "244米",
"alias": [],
"navi_poiid": [],
"entr_location": "121.471835,31.233393",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "1",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "12",
"types": [
{
"network": "有线宽带|无线宽带",
"floor": "3-19",
"lowest_price": "683",
"roomgroup_id": "1002",
"area": [],
"bed": "单人床(1.2米)",
"type": "标准单人间",
"pic_url": "http://store.is.autonavi.com/showpic/0d686680c9fea7cedebae82aa72c7670"
}
]
}
},
{
"rating": "4.4",
"event": {
"film_count": "0",
"comment_count": "2379",
"groupbuy": {
"count": "2",
"groupcount": "2",
"suggests": [
{
"original_price": "1588",
"title": "入住1晚,标准双床房/标准大床房2选1,免费WiFi。上海金门大酒店地处南京西路,面对人民广场和",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/33900967.html?nodown?nodown&webview",
"price": "548",
"discount": "3.5",
"src": "groupbuy_meituan2_api",
"group_id": "33900967",
"id": "B00152032B_1588.00_548.00",
"photo_url": []
},
{
"original_price": "1088",
"title": [],
"url": "http://u.ctrip.com/union/CtripRedirect.aspx?TypeID=692&productid=1887819&sourceid=&sid=445102&allianceid=18068&ouid=",
"price": "438",
"discount": "4.0",
"src": "groupbuy_xiecheng2_tuangou_api",
"group_id": "1887819",
"id": "B00152032B_1088.00_438.00",
"photo_url": "http://store.is.autonavi.com/showpic/7359d95b22e37eb775237cc7f3e4c122"
}
],
"sold_num": "1403",
"lowest_price": 438,
"lowest_discount": 3.5
},
"discount": []
},
"lowest_price": "436",
"photo_url": "http://store.is.autonavi.com/showpic/44e498da24dfce88af57360568f03e5e",
"id": "B00152032B",
"name": "金门大酒店",
"tag": [],
"type": "住宿服务;宾馆酒店;四星级宾馆",
"score": "0",
"typecode": "100103",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "428",
"bad_comments_num": "15",
"total_comments_num": "443"
},
"rating": "4.4",
"cost": [],
"meal_ordering": "1",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "三星级",
"lowest_price": "436",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "南京西路108号",
"location": "121.472529,31.234311",
"tel": "021-53529898;021-63276226",
"postcode": "200003",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638702",
"distance": "290米",
"alias": [],
"navi_poiid": "H51F010012_48812",
"entr_location": "121.472719,31.234093",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "1",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "10",
"types": [
{
"network": "有线宽带|无线宽带",
"floor": "3",
"lowest_price": "436",
"roomgroup_id": "1002",
"area": [],
"bed": "单人床(1.2米)",
"type": "标准单人间",
"pic_url": "http://store.is.autonavi.com/showpic/62a67e3d0dcd34afb19be5ecfee404fd"
}
]
}
},
{
"rating": "4.7",
"event": {
"film_count": "0",
"comment_count": "640",
"groupbuy": {
"count": "2",
"groupcount": "2",
"suggests": [
{
"original_price": "3676",
"title": "近人民广场,南京路步行街,含双早+双人晚宴",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/33010867.html?nodown?nodown&webview",
"price": "1399",
"discount": "3.8",
"src": "groupbuy_meituan2_api",
"group_id": "33010867",
"id": "B00155L890_3676.00_1399.00",
"photo_url": "http://store.is.autonavi.com/showpic/aef06ee4392582e9f5702c4af92976e7"
},
{
"original_price": "4382",
"title": "住宿套餐,免费早餐2份,免费WiFi。酒店是一栋近80年的历史建筑,曾是阮玲玉、胡蝶等明星争相登",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/34561145.html?nodown?nodown&webview",
"price": "1288",
"discount": "2.9",
"src": "groupbuy_meituan2_api",
"group_id": "34561145",
"id": "B00155L890_4382.00_1288.00",
"photo_url": "http://store.is.autonavi.com/showpic/b032c5bef45e7909e03bd4dc465de7ad"
}
],
"sold_num": "0",
"lowest_price": 1288,
"lowest_discount": 2.9
},
"discount": []
},
"lowest_price": "1168",
"photo_url": "http://store.is.autonavi.com/showpic/2d66620b474b48d64f29300c0f59109f",
"id": "B00155L890",
"name": "上海扬子精品酒店",
"tag": [],
"type": "住宿服务;宾馆酒店;五星级宾馆",
"score": "0",
"typecode": "100102",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "205",
"bad_comments_num": "33",
"total_comments_num": "238"
},
"rating": "4.7",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": "1",
"star": "五星级",
"lowest_price": "1168",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "汉口路740",
"location": "121.476405,31.23352",
"tel": "021-60800800",
"postcode": "200001",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638800",
"distance": "411米",
"alias": [],
"navi_poiid": "H51F010012_374093",
"entr_location": "121.476554,31.233269",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "1",
"discount_num": "0",
"business_area": [],
"free_parking_flag": "1",
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "8",
"types": [
{
"network": "有线宽带|无线宽带",
"floor": "3-8",
"lowest_price": "1168",
"roomgroup_id": "100462",
"area": [],
"bed": "大床或双床(2or1.2米)",
"type": "雅艺客房",
"pic_url": "http://store.is.autonavi.com/showpic/9f677fc5e0f6771ff729826d1a4a4e15"
}
]
}
},
{
"rating": "4.6",
"event": {
"film_count": "0",
"comment_count": "3173",
"discount": []
},
"lowest_price": "941",
"photo_url": "http://store.is.autonavi.com/showpic/0a3874516c15c73551ba5b137e1ff4cd",
"id": "B00150C121",
"name": "上海新世界丽笙大酒店",
"tag": [],
"type": "住宿服务;宾馆酒店;五星级宾馆",
"score": "0",
"typecode": "100102",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "647",
"bad_comments_num": "13",
"total_comments_num": "660"
},
"rating": "4.6",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "五星级",
"lowest_price": "941",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "南京西路88号",
"location": "121.472903,31.234689",
"tel": "021-63599999",
"postcode": "200003",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638702",
"distance": "332米",
"alias": [],
"navi_poiid": "H51F010012_48814",
"entr_location": "121.473168,31.234305",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "0",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "8",
"types": [
{
"network": "有线宽带|无线宽带",
"floor": "5-31",
"lowest_price": "941",
"roomgroup_id": "11001",
"area": [],
"bed": "大床或双床(1.8or1.2米)",
"type": "高级房",
"pic_url": "http://store.is.autonavi.com/showpic/aab57df0a878de708365f431fb386169"
}
]
}
},
{
"rating": "4.65",
"event": {
"film_count": "0",
"comment_count": "578",
"discount": []
},
"lowest_price": "2162",
"photo_url": "http://store.is.autonavi.com/showpic/ab8c122aa5c048d41daaf38e54c9e8e4",
"id": "B00156E31Q",
"name": "明天广场JW万豪酒店",
"tag": [],
"type": "住宿服务;宾馆酒店;五星级宾馆",
"score": "0",
"typecode": "100102",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "109",
"bad_comments_num": "3",
"total_comments_num": "112"
},
"rating": "4.65",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "五星级",
"lowest_price": "2162",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "南京西路399号",
"location": "121.469648,31.230438",
"tel": "021-53594969",
"postcode": "200003",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621637711",
"distance": "318米",
"alias": [],
"navi_poiid": "H51F010012_494586",
"entr_location": "121.470210,31.230814",
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "0",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "4",
"types": [
{
"network": "有宽带|宽带收费",
"floor": "41-54",
"lowest_price": "2162",
"roomgroup_id": "12001",
"area": "38",
"bed": "大/双床",
"type": "豪华房",
"pic_url": []
}
]
}
},
{
"rating": "4.3",
"event": {
"film_count": "0",
"comment_count": [],
"discount": []
},
"lowest_price": "78",
"photo_url": "http://store.is.autonavi.com/showpic/9dd2b8c937a9aa036ef2b11027b88745",
"id": "B00155FIUH",
"name": "国际青年旅舍(上海新易途店)",
"tag": [],
"type": "住宿服务;旅馆招待所;青年旅舍",
"score": "0",
"typecode": "100201",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "62",
"bad_comments_num": "5",
"total_comments_num": "67"
},
"rating": "4.3",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": [],
"free_parking_flag": [],
"star": "经济型",
"lowest_price": "78",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "江阴路55号",
"location": "121.469486,31.229492",
"tel": "021-63277766",
"postcode": "200003",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621637711",
"distance": "388米",
"alias": [],
"navi_poiid": "H51F010012_337934",
"entr_location": [],
"exit_location": [],
"match": "11",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "0",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "6",
"types": [
{
"network": "无",
"floor": [],
"lowest_price": "78",
"roomgroup_id": "113003",
"area": [],
"bed": [],
"type": "女生多人间床位",
"pic_url": []
}
]
}
},
{
"rating": "4.2",
"event": {
"film_count": "0",
"comment_count": "663",
"discount": []
},
"lowest_price": "308",
"photo_url": "http://store.is.autonavi.com/showpic/79e576b0db17a1fddaf56573d9a43905",
"id": "B0FFF4T6RY",
"name": "上海市体育俱乐部",
"tag": [],
"type": "住宿服务;宾馆酒店;宾馆酒店",
"score": "0",
"typecode": "100100",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "179",
"bad_comments_num": "9",
"total_comments_num": "188"
},
"rating": "4.2",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "经济型",
"lowest_price": "308",
"hotel_ordering": "1",
"hotel_full": "1",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "南京西路150号(人民公园对面)",
"location": "121.471828,31.233784",
"tel": "021-63275330",
"postcode": [],
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638702",
"distance": "244米",
"alias": [],
"navi_poiid": [],
"entr_location": [],
"exit_location": [],
"match": "11",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "0",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "4",
"types": [
{
"network": "有线宽带",
"floor": "6",
"lowest_price": "308",
"roomgroup_id": "2002",
"area": [],
"bed": "大床(1.6米)",
"type": "普通大床房",
"pic_url": "http://store.is.autonavi.com/showpic/39e7cc1baa24b6417962c8c614f87fa3"
}
]
}
},
{
"rating": "3.0",
"event": {
"film_count": "0",
"comment_count": [],
"discount": []
},
"lowest_price": "200",
"photo_url": "http://store.is.autonavi.com/showpic/753b331fc6619e6692da185ccba857ca",
"id": "B00154NIJ1",
"name": "天蟾招待所",
"tag": [],
"type": "住宿服务;旅馆招待所;旅馆招待所",
"score": "0",
"typecode": "100200",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": [],
"bad_comments_num": [],
"total_comments_num": []
},
"rating": "3.0",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": "1",
"free_parking_flag": [],
"star": "经济型",
"lowest_price": "200",
"hotel_ordering": "1",
"hotel_full": "1",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "福州路707号",
"location": "121.477411,31.231881",
"tel": "021-63500540;021-63500541",
"postcode": [],
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621637820",
"distance": "454米",
"alias": [],
"navi_poiid": "H51F010012_321822",
"entr_location": [],
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "0",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "1",
"types": [
{
"type": "普通单人间",
"lowest_price": "200"
}
]
}
},
{
"rating": "4",
"event": {
"film_count": "0",
"comment_count": "1357",
"groupbuy": {
"count": "1",
"groupcount": "1",
"suggests": [
{
"original_price": "358",
"title": "钟点房7小时,大床房/双人房2选1,免费WiFi。",
"url": "http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://r.union.meituan.com/url/visit/?a=1&key=KNJTcmtRhDHAex0CM1vlLyWfBaip7XkU&url=http://i.meituan.com/deal/21358875.html?nodown?nodown&webview",
"price": "168",
"discount": "4.7",
"src": "groupbuy_meituan2_api",
"group_id": "21358875",
"id": "B00154DCAP_358.00_168.00",
"photo_url": "http://store.is.autonavi.com/showpic/d9c479cac650c94df35b86c190c6a4c4"
}
],
"sold_num": "4",
"lowest_price": 168,
"lowest_discount": 4.7
},
"discount": []
},
"lowest_price": "130",
"photo_url": "http://store.is.autonavi.com/showpic/5c8b1d7b1ab21687d774cc7a2976f304",
"id": "B00154DCAP",
"name": "上服假日酒店(南京路步行街店)",
"tag": [],
"type": "住宿服务;宾馆酒店;宾馆酒店",
"score": "0",
"typecode": "100100",
"biz_type": "hotel",
"biz_ext": {
"cuisine": [],
"comment_info": {
"good_comments_num": "160",
"bad_comments_num": "10",
"total_comments_num": "170"
},
"rating": "4",
"cost": [],
"meal_ordering": "0",
"opentime": [],
"is_open": [],
"opentime2": [],
"wifi_flag": [],
"free_parking_flag": [],
"star": "三星级",
"lowest_price": "130",
"hotel_ordering": "1",
"hotel_full": "0",
"seat_ordering": [],
"ticket_ordering": "0",
"level": []
},
"address": "贵州路67号",
"location": "121.476340,31.235419",
"tel": "021-63520808",
"postcode": "200001",
"website": [],
"email": [],
"pcode": "310000",
"pname": "上海市",
"cityname": "上海市",
"adname": "黄浦区",
"citycode": "021",
"adcode": "310101",
"gridcode": "4621638800",
"distance": "542米",
"alias": [],
"navi_poiid": "H51F010012_4050",
"entr_location": [],
"exit_location": [],
"match": "10",
"recommend": "0",
"timestamp": [],
"groupbuy_num": "1",
"discount_num": "0",
"business_area": [],
"free_parking_flag": [],
"indoor_map": "0",
"indoor_data": {
"cpid": [],
"floor": []
},
"children": [],
"room_types": {
"total_count": "6",
"types": [
{
"network": "有线宽带",
"floor": "3-6",
"lowest_price": "130",
"roomgroup_id": "11001",
"area": [],
"bed": "大床(0米)",
"type": "高级房",
"pic_url": "http://store.is.autonavi.com/showpic/5c8b1d7b1ab21687d774cc7a2976f304"
}
]
}
}
],
"status": "1"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant