校验:添加接口校验

This commit is contained in:
luying
2022-07-26 20:47:01 +08:00
parent 1e74a3a20c
commit 19323ef71e
30 changed files with 1693 additions and 108 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ export function sendMessgeToChannelByBatch(channel: Channel, route: string, data
// 抽下下来pushMessage收束
export function sendMessageToChannel(channel: Channel, route: string, data: any) {
channel.pushMessage(route, data);
channel.pushMessage(route, encryptMsg(route, data));
infologger.debug(`pushMessage route: ${route} data: ${JSON.stringify(data)} members: ${channel.getMembers().join()}`);
}