refactor: inline all NTQQXxxApi uses
This commit is contained in:
1 parent
78452cf6a9
commit
b5deb198de
60 files changed
+130
-281
No files matched your search
@@ -19,9 +19,8 @@ export class DelGroupNotice extends BaseAction<Payload, any> {
|
||||
payloadSchema = SchemaData;
|
||||
|
||||
async _handle(payload: Payload) {
|
||||
const NTQQGroupApi = this.core.apis.GroupApi;
|
||||
const group = payload.group_id.toString();
|
||||
const noticeId = payload.notice_id;
|
||||
return await NTQQGroupApi.deleteGroupBulletin(group, noticeId);
|
||||
return await this.core.apis.GroupApi.deleteGroupBulletin(group, noticeId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user