fix: 修复启动报授权验证失败的bug

pull/189/head
xiaojunnuo 2024-09-25 09:41:05 +08:00
parent f5b423c351
commit 3460d3ddca
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ export class PlusService {
const licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo);
const installInfo: SysInstallInfo = await this.sysSettingsService.getSetting(SysInstallInfo);
if (!licenseInfo.license) {
return;
}
const verifyRes = await verify({
subjectId: installInfo.siteId,
license: licenseInfo.license,