add event verify
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user