From 8b9c47daf194515006689a212ae9cf586bdf5993 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Mon, 9 Dec 2024 00:12:15 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20favicon=E6=94=AF=E6=8C=81=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/system/basic/service/plus-service.ts | 4 +-- packages/ui/certd-client/index.html | 2 +- .../src/components/vip-button/index.vue | 7 +++-- .../src/views/sys/account/index.vue | 12 ++++---- .../src/controller/basic/app-controller.ts | 28 +++++++++++++++++-- .../controller/sys/plus/plus-controller.ts | 4 +-- 6 files changed, 42 insertions(+), 15 deletions(-) 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 4d780202..78d3b7b3 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 @@ -38,9 +38,9 @@ export class PlusService { return installInfo.siteId; } - async active(code: string) { + async active(code: string, inviteCode?: string) { const plusRequestService = await this.getPlusRequestService(); - return await plusRequestService.active(code); + return await plusRequestService.active(code, inviteCode); } async updateLicense(license: string) { diff --git a/packages/ui/certd-client/index.html b/packages/ui/certd-client/index.html index 50b10d1a..2130a2f4 100644 --- a/packages/ui/certd-client/index.html +++ b/packages/ui/certd-client/index.html @@ -2,7 +2,7 @@ - + Loading diff --git a/packages/ui/certd-client/src/components/vip-button/index.vue b/packages/ui/certd-client/src/components/vip-button/index.vue index 74777567..ca7d0e23 100644 --- a/packages/ui/certd-client/src/components/vip-button/index.vue +++ b/packages/ui/certd-client/src/components/vip-button/index.vue @@ -118,7 +118,8 @@ const expiredDays = computed(() => { }); const formState = reactive({ - code: "" + code: "", + inviteCode: "" }); const router = useRouter(); @@ -268,7 +269,7 @@ function openUpgrade() { activationCodeGetWay = ( - 爱发电赞助“VIP会员”后获取专业版 + 爱发电赞助“VIP会员(¥29.9)”后获取一年期专业版激活码 商业版请直接联系作者 @@ -327,6 +328,8 @@ function openUpgrade() { + +
diff --git a/packages/ui/certd-client/src/views/sys/account/index.vue b/packages/ui/certd-client/src/views/sys/account/index.vue index 4b404286..5cc70b77 100644 --- a/packages/ui/certd-client/src/views/sys/account/index.vue +++ b/packages/ui/certd-client/src/views/sys/account/index.vue @@ -1,11 +1,11 @@