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 {
|
export default {
|
||||||
orm: {
|
orm: {
|
||||||
type: 'mysql',
|
type: 'mysql',
|
||||||
host: '127.0.0.1',
|
host: '101.34.231.195',
|
||||||
port: 3306,
|
port: 3306,
|
||||||
username: 'root',
|
username: 'cool',
|
||||||
password: '123456',
|
password: 'G4NCHwcc4aJipPMy',
|
||||||
database: 'cool',
|
database: 'cool',
|
||||||
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
|
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
|
||||||
synchronize: true,
|
synchronize: true,
|
||||||
@ -20,6 +20,15 @@ export default {
|
|||||||
charset: 'utf8mb4',
|
charset: 'utf8mb4',
|
||||||
},
|
},
|
||||||
cool: {
|
cool: {
|
||||||
|
rpc: {
|
||||||
|
name: 'main',
|
||||||
|
},
|
||||||
|
redis: {
|
||||||
|
host: '127.0.0.1',
|
||||||
|
port: 6379,
|
||||||
|
db: 1,
|
||||||
|
password: '',
|
||||||
|
},
|
||||||
// 是否自动导入数据库
|
// 是否自动导入数据库
|
||||||
initDB: true,
|
initDB: true,
|
||||||
} as CoolConfig,
|
} as CoolConfig,
|
||||||
|
Loading…
Reference in New Issue
Block a user