import { Application } from 'egg' ; export default class AppBootHook { protected app : Application ; constructor ( app ) { this . app = app ; } configWillLoad ( ) { } async didLoad ( ) { } async willReady ( ) { } async didReady ( ) { this . app . logger . info ( '-----启动成功-----' ) ; } async serverDidReady ( ) { } }