From f1876a0e2b655974d172907e92cd91cb95034191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E5=B9=B2?= Date: Wed, 28 Mar 2018 10:13:03 +0800 Subject: [PATCH] =?UTF-8?q?=09=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20Pr?= =?UTF-8?q?iceSystem/fangjia/=5F=5Finit=5F=5F.py=20=09=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=9A=20=20=20=20=20PriceSystem/ones=5FSender.py=20=09?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=20=20=20=20=20PriceSystem/test.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PriceSystem/fangjia/__init__.py | 2 +- PriceSystem/ones_Sender.py | 2 +- PriceSystem/test.py | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/PriceSystem/fangjia/__init__.py b/PriceSystem/fangjia/__init__.py index 3312aac..f783469 100644 --- a/PriceSystem/fangjia/__init__.py +++ b/PriceSystem/fangjia/__init__.py @@ -239,7 +239,7 @@ def dis_feature(query, fields=None): # db1 = client1.fangjia # dsf = db1.average_statistics # s = time.time() - seawater105 = get_collection("luogan", "distric_feature_0119", "192.168.0.136", 27017) + seawater105 = get_collection("fangjia_stat", "district_feature", "192.168.0.136", 27017) for err_count in range(0, 10): try: diff --git a/PriceSystem/ones_Sender.py b/PriceSystem/ones_Sender.py index a3e499f..9562b31 100644 --- a/PriceSystem/ones_Sender.py +++ b/PriceSystem/ones_Sender.py @@ -41,5 +41,5 @@ def get_weekend(tt): if __name__ == "__main__": weekend = "" - send_cmd({"city": "西安", "region": "未央", "name": "金仕华城", "weekend": get_weekend('20170318')}) + send_cmd({"city": "西安", "region": "雁塔", "name": "鸿景花园", "weekend": get_weekend('20180325')}) #sys.exit(0) diff --git a/PriceSystem/test.py b/PriceSystem/test.py index 4234931..b1ba7e4 100644 --- a/PriceSystem/test.py +++ b/PriceSystem/test.py @@ -8,6 +8,7 @@ import sell_price.zhuge0118A as sellPrice s = time.time() + #上海 闵行上海康城 #深圳龙岗葵涌供销社综合商住楼 @@ -32,10 +33,10 @@ ct = '广州' rl = '海珠' lk = '会展世界城三期' ''' -#成都- 都江堰- 溪岭雪#上海徐汇 百汇园西 安 未央 兴乐园 弘和美邻馆 +#成都- 都江堰- 溪岭雪#上海徐汇 灞桥沁水新城百汇园西 安 未央 兴乐园 弘和美邻馆 雁塔鸿景花园 ct='西安' -rl='未央' -lk='金仕华城' +rl='雁塔' +lk='鸿景花园' #成都双流长滩一号 上海 奉贤 朝阳新村