屏蔽词:词库在使用的时候才加载
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -35,6 +35,7 @@ export class ChatRemote {
|
||||
constructor(private app: Application) {
|
||||
this.app = app;
|
||||
this.channelService = app.get('channelService');
|
||||
// getTire();
|
||||
}
|
||||
|
||||
private channelService: ChannelService;
|
||||
|
||||
Reference in New Issue
Block a user