gwang 5 жил өмнө
parent
commit
675cbae085

+ 4 - 4
Gameserver/Amfphp/Configs/config_and.php

@@ -33,9 +33,9 @@ class config_and extends config
     protected function _InitOuterNetPaydb()
     {
         $this->paydb->host = '10.66.108.49';
-	    $this->paydb->host = '10.66.172.19';
+	    $this->paydb->host = '127.0.0.1';
         $this->paydb->port = '3306';
-        $this->paydb->name = 'dhdpay';
+        $this->paydb->name = 'ylsj2019_pay';
         $this->paydb->user = 'root';
         $this->paydb->password = 'wanggang1985';
     }
@@ -45,9 +45,9 @@ class config_and extends config
      */
     protected function _InitOuterNetNosql()
     {
-        $this->nosql->host = "10.66.143.110";               # host/ip
+        $this->nosql->host = "127.0.0.1";               # host/ip
         $this->nosql->port = 6379;                          # 端口
-        $this->nosql->pwd = 'crs-6jcljj4g:ylsj2018';        # 密钥
+        $this->nosql->pwd = 'wanggang1985';        # 密钥
     }
 
 }

+ 8 - 7
Gameserver/Amfphp/Configs/config_ios.php

@@ -20,26 +20,27 @@ class config_ios extends config
     {
         $this->banedArr = array();
     }
-
     /**
      * 外网paydb
      */
     protected function _InitOuterNetPaydb()
     {
-        $this->paydb->host = '10.66.108.49';
+        $this->paydb->host = '127.0.0.1';
         $this->paydb->port = '3306';
-        $this->paydb->name = 'dhdpay';
+        $this->paydb->name = 'ylsj2019_pay';
         $this->paydb->user = 'root';
         $this->paydb->password = 'wanggang1985';
     }
 
+    /**
+     * 外网nosql
+     */
     protected function _InitOuterNetNosql()
     {
-        $this->nosql->host = '10.154.22.27';                 # host/ip(mock-cvm)
-        $this->nosql->port = 6002;                           # 端口
-        $this->nosql->pwd = 'wanggang1985';                  # 密钥
+        $this->nosql->host = "127.0.0.1";               # host/ip
+        $this->nosql->port = 6379;                          # 端口
+        $this->nosql->pwd = 'wanggang1985';        # 密钥
     }
-
 }
 
 return new config_ios();