1234567891011121314151617181920 |
- 'use strict';
- class AppBootHook {
- constructor(app) {
- this.app = app;
- }
- async didReady() {
-
- const ctx = await this.app.createAnonymousContext();
-
-
- await ctx.service.rabbitmq.mission();
- }
- async serverDidReady() {
-
- const ctx = await this.app.createAnonymousContext();
- }
- }
- module.exports = AppBootHook;
|