mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
feat: Add getDesktopTmpPath
to NTQQApi
This commit is contained in:
parent
85d648622d
commit
2f9cd8ba19
@ -42,6 +42,7 @@ export enum NTQQApiClass {
|
|||||||
FS_API = "ns-FsApi",
|
FS_API = "ns-FsApi",
|
||||||
OS_API = "ns-OsApi",
|
OS_API = "ns-OsApi",
|
||||||
HOTUPDATE_API = "ns-HotUpdateApi",
|
HOTUPDATE_API = "ns-HotUpdateApi",
|
||||||
|
BUSINESS_API = "ns-BusinessApi",
|
||||||
GLOBAL_DATA = "ns-GlobalDataApi"
|
GLOBAL_DATA = "ns-GlobalDataApi"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -732,6 +733,13 @@ export class NTQQApi {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static getDesktopTmpPath() {
|
||||||
|
return callNTQQApi<string>({
|
||||||
|
className: NTQQApiClass.BUSINESS_API,
|
||||||
|
methodName: NTQQApiMethod.CACHE_PATH_DESKTOP_TEMP
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
static getCacheSessionPathList() {
|
static getCacheSessionPathList() {
|
||||||
return callNTQQApi<{
|
return callNTQQApi<{
|
||||||
key: string,
|
key: string,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user