testerArr = array(); } function _InitBaneder() { $this->banedArr = array(); } /** * 外网paydb */ protected function _InitOuterNetPaydb() { $this->paydb->host = '127.0.0.1'; $this->paydb->port = '3306'; $this->paydb->name = 'ylsj2019_pay'; $this->paydb->user = 'root'; $this->paydb->password = 'wanggang1985'; } /** * 外网nosql */ protected function _InitOuterNetNosql() { $this->nosql->host = "127.0.0.1"; # host/ip $this->nosql->port = 6379; # 端口 $this->nosql->pwd = 'wanggang1985'; # 密钥 } /** * 外网MongoDB */ protected function _InitOuterMongoDB() { $this->mongodb = "mongodb://gwang:wanggang1985@localhost:27017/?authSource=admin"; } } return new config_ios();