mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 06:02:39 +08:00
Merge branch '5.x' of https://github.com/cool-team-official/cool-admin-midway into 5.x
This commit is contained in:
commit
ecb34fc134
3
.vscode/settings.json
vendored
Normal file
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"liveServer.settings.port": 5501
|
||||
}
|
1
lock/base.sql.lock
Normal file
1
lock/base.sql.lock
Normal file
@ -0,0 +1 @@
|
||||
time consuming:12s
|
1
lock/dict.sql.lock
Normal file
1
lock/dict.sql.lock
Normal file
@ -0,0 +1 @@
|
||||
time consuming:1s
|
1
lock/task.sql.lock
Normal file
1
lock/task.sql.lock
Normal file
@ -0,0 +1 @@
|
||||
time consuming:0s
|
@ -7,10 +7,10 @@ import { MidwayConfig } from '@midwayjs/core';
|
||||
export default {
|
||||
orm: {
|
||||
type: 'mysql',
|
||||
host: '127.0.0.1',
|
||||
host: '101.34.231.195',
|
||||
port: 3306,
|
||||
username: 'root',
|
||||
password: '123456',
|
||||
username: 'cool',
|
||||
password: 'G4NCHwcc4aJipPMy',
|
||||
database: 'cool',
|
||||
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
|
||||
synchronize: true,
|
||||
@ -20,6 +20,15 @@ export default {
|
||||
charset: 'utf8mb4',
|
||||
},
|
||||
cool: {
|
||||
rpc: {
|
||||
name: 'main',
|
||||
},
|
||||
redis: {
|
||||
host: '127.0.0.1',
|
||||
port: 6379,
|
||||
db: 1,
|
||||
password: '',
|
||||
},
|
||||
// 是否自动导入数据库
|
||||
initDB: true,
|
||||
} as CoolConfig,
|
||||
|
Loading…
Reference in New Issue
Block a user