|
@@ -42,14 +42,14 @@ class config_and extends config {
|
|
$this->nosql->host = "172.17.16.5"; # host/ip
|
|
$this->nosql->host = "172.17.16.5"; # host/ip
|
|
$this->nosql->port = 6379; # 端口
|
|
$this->nosql->port = 6379; # 端口
|
|
$this->nosql->pwd = 'wanggang1985'; # 密钥
|
|
$this->nosql->pwd = 'wanggang1985'; # 密钥
|
|
- $this->nosql->db = 2; # db索引
|
|
|
|
|
|
+ $this->nosql->db = 1; # db索引
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 外网MongoDB
|
|
* 外网MongoDB
|
|
*/
|
|
*/
|
|
protected function _InitOuterMongoDB() {
|
|
protected function _InitOuterMongoDB() {
|
|
- $this->mongodb = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
|
|
|
|
|
|
+// $this->mongodb = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
|
|
$this->mongo->db = "ylsj2019_TTT";
|
|
$this->mongo->db = "ylsj2019_TTT";
|
|
$this->mongo->conn = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
|
|
$this->mongo->conn = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
|
|
}
|
|
}
|