From 3f1a325c5d188951897bfa9979725f039519d390 Mon Sep 17 00:00:00 2001 From: virus Date: Tue, 13 Aug 2019 23:21:46 +0800 Subject: [PATCH] =?UTF-8?q?[FIX]=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/app.ini | 23 ----------------------- conf/app.ini.local | 13 +++++++++---- 2 files changed, 9 insertions(+), 27 deletions(-) delete mode 100644 conf/app.ini diff --git a/conf/app.ini b/conf/app.ini deleted file mode 100644 index 09028b0..0000000 --- a/conf/app.ini +++ /dev/null @@ -1,23 +0,0 @@ -RUN_MODE = debug - -[app] -PAGE_SIZE = 10 -JWT_SECRET = 23347$040412 - -[server] -HTTP_PORT = 8000 -READ_TIMEOUT = 60 -WRITE_TIMEOUT = 60 - -[database] -TYPE = postgres -USER = postgre -PASSWORD = 123456 -HOST = 127.0.0.1 -PORT = 5432 -NAME = data_govern -TABLE_PREFIX = d_ - -[redis] -HOST = 127.0.0.1 -PORT = 6379 \ No newline at end of file diff --git a/conf/app.ini.local b/conf/app.ini.local index 4478ed6..c5cb023 100644 --- a/conf/app.ini.local +++ b/conf/app.ini.local @@ -11,9 +11,14 @@ WRITE_TIMEOUT = 60 [database] TYPE = postgres -USER = postgres +USER = postgre PASSWORD = 123456 -HOST = postgres +HOST = 127.0.0.1 PORT = 5432 -NAME = dbname -TABLE_PREFIX = g_ \ No newline at end of file +NAME = data_govern +TABLE_PREFIX = d_ + +[redis] +HOST = 127.0.0.1 +PORT = 6379 +DB = 1 \ No newline at end of file