refactor: inline getApiContext()

This commit is contained in:
Wesley F. Young committed 2024-08-11 19:10:42 +08:00
1 parent e88c0346f3
commit 89e777f99e
71 files changed
+173 -167

No files matched your search

@@ -15,7 +15,7 @@ export class GetOnlineClient extends BaseAction<void, Array<any>> {
async _handle(payload: void) {
//注册监听
const NTQQSystemApi = this.CoreContext.getApiContext().SystemApi;
const NTQQSystemApi = this.CoreContext.apis.SystemApi;
NTQQSystemApi.getOnlineDev();
await sleep(500);