We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c4e58 commit 66c9383Copy full SHA for 66c9383
2 files changed
frontend/composables/useApi.js
@@ -453,14 +453,15 @@ export const useApi = () => {
453
return await request(`/chat/exports/${encodeURIComponent(String(exportId))}`, { method: 'DELETE' })
454
}
455
456
- // 朋友圈导出(离线 HTML zip)
+ // 朋友圈导出(离线 ZIP,支持 HTML / JSON / TXT)
457
const createSnsExport = async (data = {}) => {
458
return await request('/sns/exports', {
459
method: 'POST',
460
body: {
461
account: data.account || null,
462
scope: data.scope || 'selected',
463
usernames: Array.isArray(data.usernames) ? data.usernames : [],
464
+ format: data.format || 'html',
465
use_cache: data.use_cache == null ? true : !!data.use_cache,
466
output_dir: data.output_dir == null ? null : String(data.output_dir || '').trim(),
467
file_name: data.file_name || null
0 commit comments