batch customer event

This commit is contained in:
Timi
2026-08-03 17:28:19 +08:00
parent 337700cfa7
commit 386d5e0613
5 changed files with 362 additions and 135 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ async function rangeExport(req: RegistrationEventRecordRangeReq): Promise<Blob>
});
}
async function create(req: RegistrationEventRecordCreateReq): Promise<RegistrationEventRecord> {
async function create(req: RegistrationEventRecordCreateReq): Promise<RegistrationEventRecord[]> {
return await axios.post(`${BASE_URI}/create`, req);
}