feat(v1.3.0): 图片编辑器(裁剪/旋转/图像大小/调色) + 批量水印 + AI生图 + 收藏体系 + 图片新窗口打开按钮 + 合拼拼图 + 返回顶部

This commit is contained in:
jinghui committed 2026-11-17 23:36:32 +08:00
1 parent e345456abf
commit 94ac94436c
46 files changed
+6521 -114

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
/**
* 批量水印 API(文件夹级)
*/
import { api } from '../client';
/** 启动批量任务,返回 { taskId, total } */
export async function start(payload) {
// payload: { libraryId, folder, type: 'add'|'remove', output?, options }
return api.post('/batch/start', payload);
}
/** 查询任务进度 */
export async function status(taskId) {
return api.get(`/batch/status/${taskId}`);
}
/** 取消任务 */
export async function cancel(taskId) {
return api.post(`/batch/cancel/${taskId}`);
}