[FIX]配置文件修改

This commit is contained in:
virus 2019-08-13 23:21:46 +08:00
parent 1ca77573bc
commit 3f1a325c5d
2 changed files with 9 additions and 27 deletions

View File

@ -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

View File

@ -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_
NAME = data_govern
TABLE_PREFIX = d_
[redis]
HOST = 127.0.0.1
PORT = 6379
DB = 1