Browse Source

fixed:redis dbindex

王刚 2 năm trước cách đây
mục cha
commit
d716038359
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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->port = 6379;                                              # 端口
         $this->nosql->pwd = 'wanggang1985';                                     # 密钥
-        $this->nosql->db = 2;                                                   # db索引
+        $this->nosql->db = 1;                                                   # db索引
     }
 
     /**
      * 外网MongoDB
      */
     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->conn = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@172.17.16.5:23333/?authSource=ylsj2019";
     }