'use strict';
class AppBootHook {
  constructor(app) {
    this.app = app;
  }

  async didReady() {
    // 应用已经启动完毕
    const ctx = await this.app.createAnonymousContext();
    // 企业入驻申请消息接收事件
    // await ctx.service.rabbitmq.receiveQueueMsg('user_bind');
  }

  async serverDidReady() {
    // 应用已经启动完毕
  }
}
module.exports = AppBootHook;