商品列表状态保存

This commit is contained in:
2026-11-01 16:02:18 +08:00
parent f0375cdb50
commit 854d98c997
5 changed files with 315 additions and 18 deletions
+6
View File
@@ -129,3 +129,9 @@ export function getBillDetailApi(id: number) {
export function getBillExportUrl(id: number, categoryId = 0): string {
return `${BASE_URL}/mini/bill/${id}/export?category_id=${categoryId}`
}
/** 批量导出账单文件地址:GET /mini/bill/batch-export,最多 100 张 */
export function getBillBatchExportUrl(ids: number[]): string {
const query = ids.map(id => `ids[]=${id}`).join('&')
return `${BASE_URL}/mini/bill/batch-export?${query}`
}