商品列表状态保存
This commit is contained in:
@@ -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}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user