修复一些命名和拼写错误问题,修复一些BUG

This commit is contained in:
周建
2023-06-25 13:34:27 +08:00
parent 9456a6f31c
commit 7ca76a5304
12 changed files with 149 additions and 171 deletions

View File

@ -71,8 +71,8 @@ export const getTenantName = () => {
return wsCache.get(TenantNameKey)
}
export const setTenantName = (username: string) => {
wsCache.set(TenantNameKey, username, { exp: 30 * 24 * 60 * 60 })
export const setTenantName = (tenantName: string) => {
wsCache.set(TenantNameKey, tenantName, { exp: 30 * 24 * 60 * 60 })
}
export const removeTenantName = () => {