From 82db1844a2b66ab9fb7d3c31f96213acbd6177a7 Mon Sep 17 00:00:00 2001 From: ksice <1071766245@qq.com> Date: Mon, 15 Aug 2022 21:16:10 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81fix=20transcation=20invalid=20(#4509)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ctrip/framework/apollo/openapi/service/ConsumerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java b/apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java index 234fb210565..2ddcf8ecdea 100644 --- a/apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java +++ b/apollo-portal/src/main/java/com/ctrip/framework/apollo/openapi/service/ConsumerService.java @@ -146,6 +146,7 @@ public Consumer getConsumerByConsumerId(long consumerId) { return consumerRepository.findById(consumerId).orElse(null); } + @Transactional public List assignNamespaceRoleToConsumer(String token, String appId, String namespaceName) { return assignNamespaceRoleToConsumer(token, appId, namespaceName, null); }