diff --git a/PriceSystem/rent_price/district_map0413.py b/PriceSystem/rent_price/district_map0413.py index e2c6e48..d36bd9c 100644 --- a/PriceSystem/rent_price/district_map0413.py +++ b/PriceSystem/rent_price/district_map0413.py @@ -726,7 +726,7 @@ def common_rent_price(ct,rl,p,timd,timm,region_feature,mongodb): return nd else: - return '小区经纬度有问题' + return '小区经纬度有问题up' else: location=take_location(ct,rl,p) @@ -743,7 +743,7 @@ def common_rent_price(ct,rl,p,timd,timm,region_feature,mongodb): return nd else: - return '小区经纬度有问题' + return '小区经纬度有问题down' ################################################################################################################ ################################################################################################################ ################################################################################################################ @@ -1055,7 +1055,7 @@ save_to_mongo(ct,rl,lk,timd,timm) -''' +''' client105 = pymongo.MongoClient('192.168.0.105',27777) #'192.168.0.65',27777 db105 = client105.fangjia seawater105 = db105.seawater @@ -1128,8 +1128,8 @@ for ct in cti: for rl in region: save_to_mongo(ct,rl,timd,timm) - -''' +''' + diff --git a/PriceSystem/rent_test.py b/PriceSystem/rent_test.py index 609a42d..a6dccf8 100644 --- a/PriceSystem/rent_test.py +++ b/PriceSystem/rent_test.py @@ -17,9 +17,9 @@ def get_weekend(tt): weekend = get_weekend('20180515') ct='上海' -rl='奉贤' -lk='海岸景苑'#上海闵行闵浦新苑一村普陀曹杨一村上海北京东城左安漪园 -#黄浦伯爵居静安泰安里长宁新泾北苑上海奉贤海岸景苑 +rl='青浦' +lk='馨浦苑'#上海闵行闵浦新苑一村普陀曹杨一村上海北京东城左安漪园 +#黄浦伯爵居静安泰安里长宁新泾北苑上海奉贤海岸景苑闵行陇兴别墅 timm=20180430 timd=20160603 a=time.time() diff --git a/PriceSystem/test.py b/PriceSystem/test.py index 5430f34..678ac42 100644 --- a/PriceSystem/test.py +++ b/PriceSystem/test.py @@ -21,13 +21,13 @@ s = time.time() ct='上海' -rl='宝山' -lk='水上新村'#杨浦凤城四村闵行上海康城厦门同安大唐世家二期青岛市北东方小区合肥庐阳海亮红玺台青岛市北东方小区 +rl='青浦' +lk='馨浦苑'#杨浦凤城四村闵行上海康城厦门同安大唐世家二期青岛市北东方小区合肥庐阳海亮红玺台青岛市北东方小区 #深圳龙岗浪背村宝安吉祥公寓门头沟 泷悦长安北京上海闵行金盛小区江苏昆山象屿珑庭###浦东交通新村 #for i in range(0, 100):深圳福田世纪豪庭北京海淀前沙涧襄阳樊城国色天襄上海闵行虹凯小区徐汇前进大楼黄浦伊时代酒店式公寓 -#北区济南章丘朝阳南区上海奉贤嘉安公寓上海宝山水岸蓝桥上海宝山水上新村 +#北区济南章丘朝阳南区上海奉贤嘉安公寓上海宝山水岸蓝桥上海宝山水上新村青浦 馨浦苑 sellPrice.out_put_price(ct, rl, lk, weekend) e = time.time()