2022-12-30 16:03:32 +08:00
|
|
|
module.exports = () => {
|
|
|
|
|
// app.beforeStart(async () => {
|
|
|
|
|
// console.log(app.config)
|
|
|
|
|
// const mysqlConfig = await app.configCenter.fetch("mysql")
|
|
|
|
|
// app.database = app.mysql.createInstance(mysqlConfig)
|
|
|
|
|
// })
|
2022-12-30 11:53:48 +08:00
|
|
|
}
|