fix: 去掉开发日志

This commit is contained in:
手瓜一十雪 2024-11-05 20:54:39 +08:00
parent 51d34d17cc
commit 13afa2c7ab

View File

@ -53,7 +53,6 @@ export abstract class PacketClient {
private async registerCallback(trace_id: string, type: string, callback: (json: RecvPacketData) => Promise<void>): Promise<void> {
this.cb.put(createHash('md5').update(trace_id).digest('hex') + type, callback);
console.log(this.cb.cache);
}
private async sendCommand(cmd: string, data: string, trace_id: string, rsp: boolean = false, timeout: number = 20000, sendcb: (json: RecvPacketData) => void = () => {