|
@@ -28,10 +28,10 @@ class config_and extends config {
|
|
|
* 外网paydb
|
|
|
*/
|
|
|
protected function _InitOuterNetPaydb() {
|
|
|
- $this->paydb->host = '127.0.0.1';
|
|
|
+ $this->paydb->host = '172.17.16.5';
|
|
|
$this->paydb->port = '3306';
|
|
|
$this->paydb->name = 'ylsj2019_pay';
|
|
|
- $this->paydb->user = 'root';
|
|
|
+ $this->paydb->user = 'ylsjMTY0LjkyLjE5NC4x';
|
|
|
$this->paydb->password = 'wanggang1985';
|
|
|
}
|
|
|
|
|
@@ -39,7 +39,7 @@ class config_and extends config {
|
|
|
* 外网nosql
|
|
|
*/
|
|
|
protected function _InitOuterNetNosql() {
|
|
|
- $this->nosql->host = "127.0.0.1"; # host/ip
|
|
|
+ $this->nosql->host = "172.17.16.5"; # host/ip
|
|
|
$this->nosql->port = 6379; # 端口
|
|
|
$this->nosql->pwd = 'wanggang1985'; # 密钥
|
|
|
}
|
|
@@ -48,7 +48,7 @@ class config_and extends config {
|
|
|
* 外网MongoDB
|
|
|
*/
|
|
|
protected function _InitOuterMongoDB() {
|
|
|
- $this->mongodb = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@localhost:23333/?authSource=ylsj2019";
|
|
|
+ $this->mongodb = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
|
|
|
}
|
|
|
|
|
|
}
|