|
|
@@ -67,7 +67,7 @@ class GetDashujuSiqingDeviceInfo(object):
|
|
|
passwd = parse.quote_plus("yfkj@6020")
|
|
|
da_shuju = "192.168.4.52"
|
|
|
si_qing = "172.16.220.3"
|
|
|
- myclient = pymongo.MongoClient("mongodb://{0}:{1}@{2}:57017/".format(user,passwd, da_shuju))
|
|
|
+ myclient = pymongo.MongoClient("mongodb://{0}:{1}@{2}:27017/".format(user,passwd, da_shuju))
|
|
|
db = myclient.smartfarming
|
|
|
self.sa_device = db.sa_device
|
|
|
sa_device_type = db.sa_device_type
|