diff --git a/src/query-mark.ts b/src/query-mark.ts index 3f57ce0..e584bd7 100644 --- a/src/query-mark.ts +++ b/src/query-mark.ts @@ -101,10 +101,10 @@ export class QueryMarkBase { } async getMark(id: string, opts?: DataOpts) { - return this.post>({ key: 'get', id }, opts); + return this.post>({ key: 'get', payload: { id } }, opts); } async getVersion(id: string, opts?: DataOpts) { - return this.post>({ key: 'getVersion', id }, opts); + return this.post>({ key: 'getVersion', payload: { id } }, opts); } /** * 检查版本 @@ -133,7 +133,7 @@ export class QueryMarkBase { } async deleteMark(id: string, opts?: DataOpts) { - return this.post>({ key: 'delete', id }, opts); + return this.post>({ key: 'delete', payload: { id } }, opts); } } export class QueryMark extends QueryMarkBase {