mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
fix: 修复启动报授权验证失败的bug
This commit is contained in:
@@ -53,6 +53,9 @@ export class PlusService {
|
|||||||
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
|
||||||
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
|
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
|
||||||
|
|
||||||
|
if (!licenseInfo.license) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const verifyRes = await verify({
|
const verifyRes = await verify({
|
||||||
subjectId: installInfo.siteId,
|
subjectId: installInfo.siteId,
|
||||||
license: licenseInfo.license,
|
license: licenseInfo.license,
|
||||||
|
|||||||
Reference in New Issue
Block a user