Kaynağa Gözat

一些没用的配置删掉

lizhen_gitee 1 yıl önce
ebeveyn
işleme
c303a0afc4
2 değiştirilmiş dosya ile 9 ekleme ve 9 silme
  1. 5 5
      application/config.php
  2. 4 4
      application/database.php

+ 5 - 5
application/config.php

@@ -15,9 +15,9 @@ return [
     // +----------------------------------------------------------------------
 
     // 应用调试模式
-    'app_debug'              => true,
+    'app_debug'              => false,
     // 应用Trace
-    'app_trace'              => true,
+    'app_trace'              => false,
     // 应用模式状态
     'app_status'             => '',
     // 是否支持多模块
@@ -244,10 +244,10 @@ return [
 
     'redis'                  => [
         // 主机
-        'host'     => '121.5.123.166',
+        'host'     => '127.0.0.1',
         // 端口
         'port'      => 6379,
-        'redis_pwd' => 123456,
-        'redis_selectdb' => 8,
+        'redis_pwd' => '',
+        'redis_selectdb' => 6,
     ],
 ];

+ 4 - 4
application/database.php

@@ -13,13 +13,13 @@ return [
     // 数据库类型
     'type'            => 'mysql',
     // 服务器地址
-    'hostname'        => '121.5.123.166',
+    'hostname'        => '127.0.0.1',
     // 数据库名
-    'database'        => 'ggvoice',
+    'database'        => 'test',
     // 用户名
-    'username'        => 'ggvoice',
+    'username'        => 'test',
     // 密码
-    'password'        => 'skmemBwYjA3fPxSk',
+    'password'        => 'test',
     // 端口
     'hostport'        => '3306',
     // 连接dsn