From 227ab07c0717863357da99b96486c0034d9d3e94 Mon Sep 17 00:00:00 2001 From: ap <951984189@qq.com> Date: Thu, 6 Jan 2022 17:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/config.local.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/config/config.local.ts b/src/config/config.local.ts index e9afc6e..aeb6ba6 100644 --- a/src/config/config.local.ts +++ b/src/config/config.local.ts @@ -10,7 +10,7 @@ export default (appInfo: EggAppInfo) => { host: '127.0.0.1', port: 3306, username: 'root', - password: '123123', + password: '123456', database: 'cool', // 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失 synchronize: true, @@ -30,15 +30,5 @@ export default (appInfo: EggAppInfo) => { }, }; - config.cool = { - // redis为插件名称 - redis: { - host: '127.0.0.1', - password: '', - port: 6379, - db: 0, - }, - }; - return config; };