feat: Add getHotUpdateCachePath to NTQQApi

This commit is contained in:
Misa Liu 2024-02-27 20:19:17 +08:00
parent f08c816286
commit 85d648622d
No known key found for this signature in database
GPG Key ID: F70B23D0A4FED791

View File

@ -41,6 +41,7 @@ export enum NTQQApiClass {
NT_API = "ns-ntApi",
FS_API = "ns-FsApi",
OS_API = "ns-OsApi",
HOTUPDATE_API = "ns-HotUpdateApi",
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() {
return callNTQQApi<{
key: string,