Jelajahi Sumber

fixed:redis dbindex

王刚 2 tahun lalu
induk
melakukan
d716038359
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      Gameserver/Amfphp/configs/config_and.php

+ 2 - 2
Gameserver/Amfphp/configs/config_and.php

@@ -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";
     }
     }