update permission and product

This commit is contained in:
Timi
2026-09-04 23:07:59 +08:00
parent 1df5748f54
commit fc9e6a5023
48 changed files with 1670 additions and 2475 deletions
-8
View File
@@ -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<Store> {
});
}
async function directProductSaleEventList(storeId: string): Promise<EventItem[]> {
return await axios.post(`${STORE_BASE_URI}/direct-product-sale-event/list`, undefined, {
params: { storeId }
});
}
async function loginStore(): Promise<Store | undefined> {
return await axios.post(`${STORE_BASE_URI}/user`);
}
@@ -87,7 +80,6 @@ async function removeBusinessDay(id: string): Promise<void> {
export default {
list,
detail,
directProductSaleEventList,
loginStore,
create,
update,