diff --git a/src/api/StoreAPI.ts b/src/api/StoreAPI.ts index cacd0c4..7ab3742 100644 --- a/src/api/StoreAPI.ts +++ b/src/api/StoreAPI.ts @@ -1,6 +1,5 @@ import { axios } from "timi-web-api"; import type { Page, PageResult } from "timi-web-api"; -import type { EventItem } from "@/types/EventItem"; import type { Store, StoreBusinessDay } from "@/types/Store"; const STORE_BASE_URI = "/gao/store"; @@ -16,12 +15,6 @@ async function detail(id: string): Promise { }); } -async function directProductSaleEventList(storeId: string): Promise { - return await axios.post(`${STORE_BASE_URI}/direct-product-sale-event/list`, undefined, { - params: { storeId } - }); -} - async function loginStore(): Promise { return await axios.post(`${STORE_BASE_URI}/user`); } @@ -87,7 +80,6 @@ async function removeBusinessDay(id: string): Promise { export default { list, detail, - directProductSaleEventList, loginStore, create, update, diff --git a/src/components/CustomerList.vue b/src/components/CustomerList.vue index b789179..96ea7c8 100644 --- a/src/components/CustomerList.vue +++ b/src/components/CustomerList.vue @@ -1,36 +1,36 @@