refactor timi-web
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AttachmentAPI } from "timi-web";
|
||||
import { AttachmentAPI } from "timi-web-api";
|
||||
|
||||
/**
|
||||
* 获取附件读取地址。
|
||||
|
||||
@@ -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
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user