Files
wwjcloud-nest-v1/wwjcloud/src/common/sys/services/admin/SystemService.ts

84 lines
2.8 KiB
TypeScript
Raw Normal View History

2025-09-11 22:06:19 +08:00
<EFBFBD><EFBFBD>import { Injectable } from '@nestjs/common';
import { CoreSystemService } from '../core/CoreSystemService';
@Injectable()
export class SystemService {
2025-09-11 22:06:19 +08:00
constructor(private readonly coreSystemService: CoreSystemService) {}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD><EFBFBD><EFBFBD>SS_MR<EFBFBD>|<EFBFBD>~<EFBFBD>Oo`
*/
async getInfo() {
2025-09-11 22:06:19 +08:00
return this.coreSystemService.getInfo();
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD><EFBFBD><EFBFBD>SS_MRurlM<EFBFBD>n - <EFBFBD>c6RhVQY<EFBFBD>~<EFBFBD>getUrl(siteId)
*/
2025-09-11 22:06:19 +08:00
async getUrl(siteId?: number) {
return this.coreSystemService.getUrl();
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>|<EFBFBD>~<EFBFBD>s<EFBFBD>XM<EFBFBD>n
*/
async getSystemInfo() {
2025-09-11 22:06:19 +08:00
return this.coreSystemService.getSystemInfo();
}
/**
2025-09-11 22:06:19 +08:00
* nth<EFBFBD>X[
*/
2025-09-11 22:06:19 +08:00
async schemaCache() {
return this.coreSystemService.schemaCache();
}
/**
2025-09-11 22:06:19 +08:00
* ntX[
*/
async clearCache() {
2025-09-11 22:06:19 +08:00
return this.coreSystemService.clearCache();
}
/**
2025-09-11 22:06:19 +08:00
* !h<EFBFBD><EFBFBD><EFBFBD>mo`<1F>R/f&Tck8^ЏL<D08F>
*/
2025-09-11 22:06:19 +08:00
async checkJob() {
return this.coreSystemService.checkJob();
}
/**
2025-09-11 22:06:19 +08:00
* !h<EFBFBD><EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>N<EFBFBD>R/f&Tck8^ЏL<EFBFBD>
*/
2025-09-11 22:06:19 +08:00
async checkSchedule() {
return this.coreSystemService.checkSchedule();
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD>s<EFBFBD>X<EFBFBD><EFBFBD>g<EFBFBD><EFBFBD>
*/
2025-09-11 22:06:19 +08:00
async getEnvInfo() {
return this.coreSystemService.getEnvInfo();
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>c^<EFBFBD>N<EFBFBD>~x
*/
2025-09-11 22:06:19 +08:00
async getQrcode(params: any) {
return this.coreSystemService.getQrcode(params);
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>|<EFBFBD>~<EFBFBD>~<EFBFBD><EFBFBD><EFBFBD>Oo`
*/
2025-09-11 22:06:19 +08:00
async getSystemStats() {
return this.coreSystemService.getSystemStats();
}
/**
2025-09-11 22:06:19 +08:00
* <EFBFBD>h<EFBFBD>g<EFBFBD>|<EFBFBD>~M<EFBFBD>n
*/
2025-09-11 22:06:19 +08:00
async checkSystemConfig() {
return this.coreSystemService.checkSystemConfig();
}
2025-09-11 22:06:19 +08:00
}