testerArr = array( "gwang", // 王刚 "D51D63CA040982E406BDE9898AD757AE", // 王倩倩 "wanggangzero.cn", // 王刚 ); } function _InitBaneder() { $this->banedArr = array( "251984775-baidu", // 王刚 ); } /** * 初始化paydb */ protected function _InitPaydb() { $this->paydb->host = '127.0.0.1'; $this->paydb->port = '3306'; $this->paydb->name = 'ylsj2019_pay'; $this->paydb->user = 'gwang'; $this->paydb->password = 'wanggang1985'; // // $this->paydb->host = '127.0.0.1'; // $this->paydb->port = '3306'; // $this->paydb->name = 'chongwu'; // $this->paydb->user = 'root'; // $this->paydb->password = 'root'; // $this->paydb->host = '192.168.10.16'; // $this->paydb->port = '3306'; // $this->paydb->name = 'ylsj2019_pay'; // $this->paydb->user = 'gwang'; // $this->paydb->password = 'wanggang1985'; } /** * nosql */ protected function _InitNosql() { $this->nosql->host = "127.0.0.1"; # host/ip $this->nosql->port = 6379; # 端口 $this->nosql->pwd = 'wanggang1985'; # 密钥 $this->nosql->db = 0; # db索引 // $this->nosql->host = "162.168.10.16"; # host/ip // $this->nosql->port = 6004; # 端口 // $this->nosql->pwd = 'wanggang1985'; # 密钥 // $this->nosql->db = 0; } /** * MongoDB */ protected function _InitMongoDB() { $this->mongo->db = "ylsj2019"; $this->mongo->conn = "mongodb://gwang:wanggang1985@localhost:23333/?authSource=admin"; } } return new config_dev_wg();