屏蔽词:词库在使用的时候才加载

This commit is contained in:
luying
2021-11-19 17:01:19 +08:00
parent a189a7e63c
commit a0933d3c12
2 changed files with 1 additions and 6 deletions

View File

@@ -131,12 +131,6 @@ app.configure(ALL_ENVS, 'systimer', function () {
});
});
app.configure(ALL_ENVS, 'chat', function() {
app.afterStart(() => {
getTire();
})
});
function errorHandler(err: Error, msg: any, resp: any,
session: FrontendOrBackendSession, cb: HandlerCallback) {
const errCode = genCode(10);

View File

@@ -35,6 +35,7 @@ export class ChatRemote {
constructor(private app: Application) {
this.app = app;
this.channelService = app.get('channelService');
// getTire();
}
private channelService: ChannelService;