This commit is contained in:
zlwu committed 2026-05-21 13:20:15 +08:00
1 parent 14f1a84bb3
commit d387ba4017
34 files changed
+6155 -3865

No files matched your search

+5 -2
View File
@@ -32,6 +32,9 @@ export function fetchDeleteCellProduct(id: string) {
return request.del({ url: `/web/admin/cell-products/${id}` })
}
export function fetchNextCellProductCode() {
return request.get<{ code: string }>({ url: '/web/admin/cell-products/next-code' })
export function fetchNextCellProductCode(count = 1) {
return request.get<{ code: string; codes?: string[] }>({
url: '/web/admin/cell-products/next-code',
params: count > 1 ? { count } : undefined
})
}