Просмотр исходного кода

添加本地代码测试配置,方便调试

王刚 1 год назад
Родитель
Сommit
17b0936754
1 измененных файлов с 9 добавлено и 9 удалено
  1. 9 9
      Gameserver/App/configs/config_dev_wg.php

+ 9 - 9
Gameserver/App/configs/config_dev_wg.php

@@ -9,11 +9,10 @@ namespace loyalsoft;
  * @copyright © 2015-2-3, SJZ LoyalSoft Corporation & gwang. All rights reserved.
  */
 class config_dev_wg extends config {
-
     function _InitTester() {
         $this->testerArr = array(
             "gwang", //                王刚
-            "D51D63CA040982E406BDE9898AD757AE", //             王倩倩
+            "8796-any", //             王倩倩
             "wanggangzero.cn", //      王刚
         );
     }
@@ -28,10 +27,10 @@ class config_dev_wg extends config {
      * 初始化paydb
      */
     protected function _InitPaydb() {
-        $this->paydb->host = '127.0.0.1';
+        $this->paydb->host = '10.88.16.14';
         $this->paydb->port = '3306';
-        $this->paydb->name = 'jzhj2023_pay';
-        $this->paydb->user = 'gwang';
+        $this->paydb->name = 'jzhj2024_pay_dev';
+        $this->paydb->user = 'ylsjMTY0LjkyLjE5NC4x';
         $this->paydb->password = 'wanggang1985';
     }
 
@@ -39,18 +38,19 @@ class config_dev_wg extends config {
      * nosql
      */
     protected function _InitNosql() {
-        $this->nosql->host = "127.0.0.1";                                       # host/ip
+        $this->nosql->host = "10.88.20.16";                                     # host/ip
         $this->nosql->port = 6379;                                              # 端口
         $this->nosql->pwd = 'wanggang1985';                                     # 密钥
-        $this->nosql->db = 1;                                                   # db索引
+        $this->nosql->db = 8;                                                   # db索引
     }
 
     /**
      * MongoDB
      */
     protected function _InitMongoDB() {
-        $this->mongo->db = "jzhj2023";
-        $this->mongo->conn = "mongodb://gwang:wanggang1985@localhost:23333/?authSource=admin";
+        $this->mongo->db = 'jzhj2024_dev';
+        $this->mongo->conn = "mongodb://ylsjMTY0LjkyLjE5NC4x:wanggang1985@10.88.0.14:23333/?authSource=ylsj2019";
+        $this->mongo->conn = "mongodb://mongouser:wanggang1985@10.88.24.17:27017,10.88.24.5:27017/test?replicaSet=cmgo-bw110ojx_0&authSource=admin";
     }
 }