mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-03-19 12:13:45 +00:00
完善定时任务
This commit is contained in:
parent
b07faab723
commit
227ab07c07
@ -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;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user