refactor: rename all coreContext -> core

This commit is contained in:
Wesley F. Young
2024-08-26 09:19:50 +08:00
parent a5f9e44ebb
commit 04fb771f42
79 changed files with 386 additions and 389 deletions

View File

@@ -7,7 +7,7 @@ class GetLoginInfo extends BaseAction<null, OB11User> {
actionName = ActionName.GetLoginInfo;
async _handle(payload: null) {
return OB11Constructor.selfInfo(this.CoreContext.selfInfo);
return OB11Constructor.selfInfo(this.core.selfInfo);
}
}

View File

@@ -6,7 +6,7 @@ export default class GetStatus extends BaseAction<any, any> {
async _handle(payload: any): Promise<any> {
return {
online: !!this.CoreContext.selfInfo.online,
online: !!this.core.selfInfo.online,
good: true,
stat: {},
};