修复了全局wxid错误清洗的问题
This commit is contained in:
1 parent
2d5832d6a9
commit
39e527a21a
15 files changed
+84
-37
No files matched your search
@@ -251,7 +251,7 @@ class GroupAnalyticsService {
|
||||
}
|
||||
|
||||
private async ensureConnected(): Promise<{ success: boolean; error?: string }> {
|
||||
const wxid = this.configService.get('myWxid')
|
||||
const wxid = this.configService.getMyWxidCleaned()
|
||||
const dbPath = this.configService.get('dbPath')
|
||||
const decryptKey = this.configService.get('decryptKey')
|
||||
if (!wxid) return { success: false, error: '未配置微信ID' }
|
||||
@@ -1557,7 +1557,7 @@ class GroupAnalyticsService {
|
||||
const phraseCounts = new Map<string, number>()
|
||||
const emojiCounts = new Map<string, number>()
|
||||
|
||||
const myWxid = String(this.configService.get('myWxid') || '').trim()
|
||||
const myWxid = String(this.configService.getMyWxidCleaned() || '').trim()
|
||||
|
||||
try {
|
||||
while (true) {
|
||||
|
||||
Reference in new issue
Block a user