xun 7 年之前
父节点
当前提交
6d716bab1d
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      gitignore/database.php
  2. 1 1
      gitignore/rules.php

+ 2 - 2
gitignore/database.php

@@ -13,7 +13,7 @@ return [
     // 数据库类型
     'type'            => 'mysql',
     // 服务器地址
-    'hostname'        => 'localhost',
+    'hostname'        => '127.0.0.1',
     // 数据库名
     'database'        => 'wiki_api',
     // 用户名
@@ -21,7 +21,7 @@ return [
     // 密码
     'password'        => 'root',
     // 端口
-    'hostport'        => '',
+    'hostport'        => '3306',
     // 连接dsn
     'dsn'             => '',
     // 数据库连接参数

+ 1 - 1
gitignore/rules.php

@@ -7,4 +7,4 @@
  */
 use think\Route;
 
-Route::domain('wiki.api.tossboy.cn','index');
+//Route::domain('wiki.api.tossboy.cn','index');