修改数据库地址
This commit is contained in:
@@ -129,7 +129,7 @@ def commonprice(ct, rl, p):
|
||||
# client1 = pymongo.MongoClient('192.168.0.136',27017)
|
||||
# db1 = client1.fangjia
|
||||
# seaweed1 = db1.seaweed
|
||||
seaweed136 = fangjia.get_collection("fangjia", "seaweed", '192.168.0.136', 27017)
|
||||
seaweed136 = fangjia.get_collection("fangjia", "seaweed", config.get_seaweed_host(), 27017)
|
||||
query1 = {"status": 0, "cat": "district", "city": ct,
|
||||
"region": rl, "name": dirlt}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user