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