diff --git a/src/query-config.ts b/src/query-config.ts index c820f7f..b581af6 100644 --- a/src/query-config.ts +++ b/src/query-config.ts @@ -70,6 +70,17 @@ export class QueryConfig { data, }); } + + /** + * 检测配置是否存在 + * @param id + * @returns + */ + async detectConfig() { + return this.post<{ updateList: Config[] }>({ + key: 'detect', + }); + } } /**