屏蔽词:词库在使用的时候才加载
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,
|
function errorHandler(err: Error, msg: any, resp: any,
|
||||||
session: FrontendOrBackendSession, cb: HandlerCallback) {
|
session: FrontendOrBackendSession, cb: HandlerCallback) {
|
||||||
const errCode = genCode(10);
|
const errCode = genCode(10);
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ export class ChatRemote {
|
|||||||
constructor(private app: Application) {
|
constructor(private app: Application) {
|
||||||
this.app = app;
|
this.app = app;
|
||||||
this.channelService = app.get('channelService');
|
this.channelService = app.get('channelService');
|
||||||
|
// getTire();
|
||||||
}
|
}
|
||||||
|
|
||||||
private channelService: ChannelService;
|
private channelService: ChannelService;
|
||||||
|
|||||||
Reference in New Issue
Block a user