系统:停服维护逻辑

This commit is contained in:
luying
2021-07-15 14:40:26 +08:00
parent 352aecfb56
commit 0028c9b992
26 changed files with 348 additions and 50 deletions
+2
View File
@@ -27,6 +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();
}
async didReady() {