app.js 229 B

12345678910111213
  1. 'use strict';
  2. class AppBootHook {
  3. constructor(app) {
  4. this.app = app;
  5. }
  6. async willReady() {
  7. const ctx = await this.app.createAnonymousContext();
  8. ctx.service.install.index();
  9. }
  10. }
  11. module.exports = AppBootHook;