mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-06 05:27:48 +08:00
fix: 优化微信发送日志展示
This commit is contained in:
@@ -701,6 +701,24 @@ handle('db:getContactAvatars', (usernames) =>
|
||||
.map((contact) => [contact.m_nsUsrName, contact.avatar])
|
||||
)
|
||||
)
|
||||
handle('wechat-action-log:list', () => [
|
||||
{
|
||||
id: 'fixture-action-log',
|
||||
category: 'wechat_send',
|
||||
source: 'scheduled_report',
|
||||
purpose: 'scheduled_report',
|
||||
triggerType: 'automation',
|
||||
timestamp: new Date(fixtureNowMs - 60_000).toISOString(),
|
||||
recipientType: 'group',
|
||||
recipientId: 'group_regular@chatroom',
|
||||
recipientName: '产品测试群',
|
||||
contentType: 'image',
|
||||
contentPreview: 'fixture-report.png',
|
||||
status: 'sent',
|
||||
executionId: 'fixture-execution',
|
||||
idempotencyKey: 'scheduled_report:fixture-execution'
|
||||
}
|
||||
])
|
||||
handle('settings:getSelf', () => ({ ready: true, info: fixture.self }))
|
||||
handle('db:getCachedMessages', (md5) => fixture.messages[md5] || [])
|
||||
handle('db:getCachedMessagePage', (md5) => ({
|
||||
|
||||
Reference in New Issue
Block a user