config add getConfigByDefault Key

This commit is contained in:
xion 2025-03-23 21:45:35 +08:00
parent 93cd7cf979
commit 20688920b8

View File

@ -81,6 +81,12 @@ export class QueryConfig {
key: 'detect', key: 'detect',
}); });
} }
async getConfigByKey(key: string) {
return this.post<Result<Config>>({
key: 'defaultConfig',
configKey: key,
});
}
} }
/** /**