add NumberValueTotal

This commit is contained in:
Timi
2026-08-14 18:45:03 +08:00
parent a43694daa3
commit 020d187860
3 changed files with 31 additions and 10 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import { axios, type PageResult } from "timi-web";
import type { CustomerEventRankView, EventRecord, EventRecordPage, EventRecordRankPage } from "@/types/EventRecord";
import type { CustomerEventRankView, EventRecord, EventRecordPage, EventRecordPageResult, EventRecordRankPage } from "@/types/EventRecord";
import type { Customer } from "@/types/Customer.ts";
import { withCurrentStoreId } from "@/utils/store";
const BASE_URI = "/gao/event/record";
async function list(page: EventRecordPage): Promise<PageResult<EventRecord>> {
async function list(page: EventRecordPage): Promise<EventRecordPageResult> {
return await axios.post(`${BASE_URI}/list`, withCurrentStoreId(page));
}