refactor: msgId stage-2
This commit is contained in:
1 parent
a8554878ac
commit
ee6925edf9
9 files changed
+22
-31
No files matched your search
@@ -27,16 +27,6 @@ program
|
||||
//deleteOldFiles(path.join(__dirname, 'logs'), 3).then().catch();
|
||||
// UpdateConfig().catch(logError); 移除支持
|
||||
// 启动WebUi
|
||||
|
||||
for (let i = 0; i < 100; i++) {
|
||||
console.log('---------------');
|
||||
let msgid = randomInt(1000000000).toString();
|
||||
let shortId = MessageUnique.createMsg({ chatType: 1, peerUid: '123' }, msgid);
|
||||
console.log(`${msgid}--->${shortId}`);
|
||||
msgid = MessageUnique.getMsgIdAndPeerByShortId(shortId!)?.MsgId!;
|
||||
console.log(`${msgid}<---${shortId}`);
|
||||
}
|
||||
|
||||
InitWebUi();
|
||||
const cmdOptions = program.opts();
|
||||
// console.log(process.argv);
|
||||
|
||||
Reference in new issue
Block a user