后台:停服维护

This commit is contained in:
luying
2021-07-16 15:39:36 +08:00
parent 4d1723b5c2
commit 23750e89b9
9 changed files with 211 additions and 37 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ export default class FooBoot implements IBoot {
async willReady() {
// All plugins have started, can do some thing before app ready.
// await this.customLoadModel();
const ctx = await this.app.createAnonymousContext();
await ctx.service.game.readDbMaintenance();
// const ctx = await this.app.createAnonymousContext();
// await ctx.service.game.readDbMaintenance();
}
async didReady() {