商品列表状态保存
This commit is contained in:
@@ -123,9 +123,9 @@ export function getBillDetailApi(id: number) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 账单合并导出文件地址:GET /mini/bill/export
|
||||
* 单个账单导出文件地址:GET /mini/bill/{id}/export
|
||||
* 返回 xlsx 文件流(非 JSON,需带 token 下载);categoryId 仅过滤商品明细,费用仍全额汇总
|
||||
*/
|
||||
export function getBillExportUrl(ids: number[], categoryId = 0): string {
|
||||
return `${BASE_URL}/mini/bill/export?ids=${ids.join(',')}&category_id=${categoryId}`
|
||||
export function getBillExportUrl(id: number, categoryId = 0): string {
|
||||
return `${BASE_URL}/mini/bill/${id}/export?category_id=${categoryId}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user