config add getConfigByDefault Key
This commit is contained in:
parent
93cd7cf979
commit
20688920b8
@ -81,6 +81,12 @@ export class QueryConfig {
|
|||||||
key: 'detect',
|
key: 'detect',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
async getConfigByKey(key: string) {
|
||||||
|
return this.post<Result<Config>>({
|
||||||
|
key: 'defaultConfig',
|
||||||
|
configKey: key,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user