From b4babbe2c7dc7c4dd13641d95c981b96e7d5adce Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 2 Feb 2026 02:02:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20bindUrl2=E5=88=9D=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib-server/src/system/basic/service/plus-service.ts | 9 ++++++++- .../lib-server/src/system/settings/service/models.ts | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/libs/lib-server/src/system/basic/service/plus-service.ts b/packages/libs/lib-server/src/system/basic/service/plus-service.ts index d3f470bf0..89a278bbf 100644 --- a/packages/libs/lib-server/src/system/basic/service/plus-service.ts +++ b/packages/libs/lib-server/src/system/basic/service/plus-service.ts @@ -20,6 +20,7 @@ export class PlusService { const subjectId = installInfo.siteId; const bindUrl = installInfo.bindUrl; + const bindUrl2 = installInfo.bindUrl2; const installTime = installInfo.installTime; const saveLicense = async (license: string) => { let licenseInfo: SysLicenseInfo = await this.sysSettingsService.getSetting(SysLicenseInfo); @@ -30,7 +31,7 @@ export class PlusService { await this.sysSettingsService.saveSetting(licenseInfo); }; - return new PlusRequestService({ subjectId, bindUrl, installTime, saveLicense }); + return new PlusRequestService({ subjectId, bindUrl, bindUrl2, installTime, saveLicense }); } async getSubjectId() { @@ -150,6 +151,12 @@ export class PlusService { } } + async getTodayOrderCount () { + await this.register(); + const plusRequestService = await this.getPlusRequestService(); + return await plusRequestService.getOrderCount() + } + async requestWithToken(config: HttpRequestConfig) { const plusRequestService = await this.getPlusRequestService(); const token = await this.getAccessToken(); diff --git a/packages/libs/lib-server/src/system/settings/service/models.ts b/packages/libs/lib-server/src/system/settings/service/models.ts index 993ed6b0c..1b9a8128d 100644 --- a/packages/libs/lib-server/src/system/settings/service/models.ts +++ b/packages/libs/lib-server/src/system/settings/service/models.ts @@ -107,6 +107,7 @@ export class SysInstallInfo extends BaseSettings { siteId?: string; bindUserId?: number; bindUrl?: string; + bindUrl2?: string; accountServerBaseUrl?: string; appKey?: string; }