refactor timi-web

This commit is contained in:
Timi
2026-08-26 21:18:02 +08:00
parent fe5d190308
commit f54a129edb
85 changed files with 1745 additions and 180 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { AttachmentAPI } from "timi-web";
import { AttachmentAPI } from "timi-web-api";
/**
* 获取附件读取地址。
+4 -1
View File
@@ -88,7 +88,10 @@ export const corePermissionCodes = {
delete: "CORE:USER_ROLE:DELETE"
},
notify: {
read: "CORE:NOTIFY:READ"
create: "CORE:NOTIFY:CREATE",
read: "CORE:NOTIFY:READ",
delete: "CORE:NOTIFY:DELETE",
cancel: "CORE:NOTIFY:CANCEL"
}
} as const;
+1 -1
View File
@@ -1,6 +1,6 @@
import type { StoreBusinessDayStatus, StoreStatus } from "@/types/Store";
import { permissionCodes } from "@/utils/permission";
import { type Page, useUserStore } from "timi-web";
import { type Page, useUserStore } from "timi-web-api";
export const currentStoreIdStorageKey = "gao-customer-h5:current-store-id";
export const loginStoreIdStorageKey = "gao-customer-h5:login-store-id";