mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-03-26 15:23:07 +00:00
完善定时任务
This commit is contained in:
parent
b07faab723
commit
227ab07c07
@ -10,7 +10,7 @@ export default (appInfo: EggAppInfo) => {
|
|||||||
host: '127.0.0.1',
|
host: '127.0.0.1',
|
||||||
port: 3306,
|
port: 3306,
|
||||||
username: 'root',
|
username: 'root',
|
||||||
password: '123123',
|
password: '123456',
|
||||||
database: 'cool',
|
database: 'cool',
|
||||||
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
|
// 自动建表 注意:线上部署的时候不要使用,有可能导致数据丢失
|
||||||
synchronize: true,
|
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;
|
return config;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user