add event verify

This commit is contained in:
Timi
2026-08-29 15:35:28 +08:00
parent 24cf6fc714
commit 904af04cdd
9 changed files with 233 additions and 16 deletions
+7
View File
@@ -32,6 +32,12 @@ async function update(record: EventRecord): Promise<void> {
await axios.post(`${BASE_URI}/update`, withCurrentStoreId(record));
}
async function verify(id: string): Promise<void> {
await axios.post(`${BASE_URI}/verify`, undefined, {
params: { id }
});
}
async function remove(id: string): Promise<void> {
await axios.post(`${BASE_URI}/delete`, undefined, {
params: { id }
@@ -56,6 +62,7 @@ export default {
createBatch,
createWithCustomer,
update,
verify,
remove,
eventRank
};