From bbc83a9a26f6cac9a08dac7d3948441f89b2322e Mon Sep 17 00:00:00 2001 From: colin Date: Mon, 12 Aug 2024 17:43:04 +0800 Subject: [PATCH 1/4] upgrade abp framework to 8.2.1 --- Directory.Packages.props | 6 +- .../src/api/caching-management/cache/index.ts | 6 +- .../src/api/text-templating/contents/index.ts | 7 +- .../components/FeatureDefinitionTable.vue | 33 +- .../components/PermissionDefinitionTable.vue | 30 +- .../permissions/datas/TableData.ts | 32 +- .../NotificationDefinitionTable.vue | 26 +- .../components/NotificationSendModal.vue | 8 + .../CAP/AbpCAPConsumerServiceSelector.cs | 228 ++++--- .../Abp/EventBus/CAP/AbpCAPEventBusModule.cs | 63 +- .../Abp/EventBus/CAP/AbpCAPEventBusOptions.cs | 19 +- .../CAP/AbpCAPExecutionFailedException.cs | 87 ++- .../LINGYUN/Abp/EventBus/CAP/AbpCAPHeaders.cs | 15 +- .../EventBus/CAP/AbpCAPMessageExtensions.cs | 63 +- .../EventBus/CAP/AbpCAPSubscribeInvoker.cs | 351 +++++------ .../Abp/EventBus/CAP/AbpCapSerializer.cs | 111 ++-- .../EventBus/CAP/CAPDistributedEventBus.cs | 431 +++++++------ .../CAP/CustomDistributedEventSubscriber.cs | 199 +++--- .../CAP/FailedThresholdCallbackNotifier.cs | 37 +- .../CAP/ICustomDistributedEventSubscriber.cs | 33 +- .../CAP/IFailedThresholdCallbackNotifier.cs | 9 +- .../EventBus/CAP/Internal/AwaitableInfo.cs | 194 +++--- .../CAP/Internal/CoercedAwaitableInfo.cs | 69 +-- .../CAP/Internal/ObjectMethodExecutor.cs | 568 +++++++++--------- .../Internal/ObjectMethodExecutorAwaitable.cs | 171 +++--- .../ObjectMethodExecutorFSharpSupport.cs | 231 ++++--- .../ServiceCollectionExtensions.cs | 33 +- common.props | 4 +- 28 files changed, 1499 insertions(+), 1565 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 8971999ed..affc978c7 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,9 +1,9 @@ - 8.1.1 + 8.2.0 2.14.1 - 8.2.0 - 8.2.0 + 8.2.1 + 8.2.1 8.0.0 8.0.0 8.0.0 diff --git a/apps/vue/src/api/caching-management/cache/index.ts b/apps/vue/src/api/caching-management/cache/index.ts index b9ab32b64..09363dda7 100644 --- a/apps/vue/src/api/caching-management/cache/index.ts +++ b/apps/vue/src/api/caching-management/cache/index.ts @@ -8,14 +8,14 @@ import { export const getKeys = (input: GetCacheKeysRequest) => { return defHttp.get({ - url: '/api/caching-management/cache', + url: '/api/caching-management/cache/keys', params: input, }); }; export const getValue = (key: string) => { return defHttp.get({ - url: `/api/caching-management/cache?key=${key}`, + url: `/api/caching-management/cache/value?key=${key}`, }); }; @@ -28,6 +28,6 @@ export const refresh = (input: CacheRefreshRequest) => { export const remove = (key: string) => { return defHttp.delete({ - url: `/api/caching-management/cache?key=${key}`, + url: `/api/caching-management/cache/remove?key=${key}`, }); }; diff --git a/apps/vue/src/api/text-templating/contents/index.ts b/apps/vue/src/api/text-templating/contents/index.ts index 74e747620..03ee95cb7 100644 --- a/apps/vue/src/api/text-templating/contents/index.ts +++ b/apps/vue/src/api/text-templating/contents/index.ts @@ -7,9 +7,12 @@ import { } from './model'; export const GetAsyncByInput = (input: TextTemplateContentGetInput) => { + let url = `/api/text-templating/templates/content/${input.name}`; + if (input.culture) { + url = `/api/text-templating/templates/content/${input.culture}/${input.name}`; + } return defHttp.get({ - url: `/api/text-templating/templates/content`, - params: input, + url, }); }; diff --git a/apps/vue/src/views/feature-management/definitions/features/components/FeatureDefinitionTable.vue b/apps/vue/src/views/feature-management/definitions/features/components/FeatureDefinitionTable.vue index c48eabd29..58829dc57 100644 --- a/apps/vue/src/views/feature-management/definitions/features/components/FeatureDefinitionTable.vue +++ b/apps/vue/src/views/feature-management/definitions/features/components/FeatureDefinitionTable.vue @@ -17,19 +17,13 @@