feat: remove LineDev&&Protobuf

This commit is contained in:
手瓜一十雪
2024-07-22 15:40:23 +08:00
parent 2626943f8c
commit 75bd1e25d2
5 changed files with 117 additions and 111 deletions

View File

@@ -3,6 +3,7 @@ import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { JSONSchema } from 'json-schema-to-ts';
import { NTQQSystemApi } from '@/core';
import { sleep } from '@/common/utils/helper';
const SchemaData = {
type: 'object',
@@ -15,7 +16,8 @@ export class GetOnlineClient extends BaseAction<void, Array<any>> {
actionName = ActionName.GetOnlineClient;
protected async _handle(payload: void) {
//console.log(await NTQQSystemApi.getOnlineDev());
NTQQSystemApi.getOnlineDev();
await sleep(500);
return DeviceList;
}
}