feat: 新增拓展中心功能, 提供 关键词回复 去水印模板

This commit is contained in:
Wxw-Gu committed 2026-11-18 17:42:13 +08:00
1 parent aca103cb96
commit ebea992b10
85 files changed
+14750 -106

No files matched your search

@@ -418,6 +418,20 @@ describe('Windows request', () => {
})
})
it('builds the unified video request with type=video', () => {
expect(
buildWindowsWechatRequest({
to: 'room@chatroom',
type: 'video',
filePath: '/tmp/tm-test.mp4',
isGroup: true
})
).toEqual({
endpoint: '/SendMsg',
body: { toWxid: 'room@chatroom', type: 'video', msg: '/tmp/tm-test.mp4' }
})
})
it('builds the unified voice request with sender wxid and duration', () => {
expect(
buildWindowsWechatRequest(