diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index 1d8688bb..a717b1be 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,6 +1,6 @@ --- -name: "Bug Report" -about: Something isn't working as expected +name: "BUG 报告" +about: 提交问题缺陷帮助我们更好的改进 --- ## Bug Report diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md index 6be849e9..2422175e 100644 --- a/.github/ISSUE_TEMPLATE/feature-request.md +++ b/.github/ISSUE_TEMPLATE/feature-request.md @@ -1,6 +1,6 @@ --- -name: "Feature Request" -about: I have a suggestion +name: "需求建议" +about: 提出针对本项目的想法和建议 --- ## Feature Request diff --git a/.github/ISSUE_TEMPLATE/question-report.md b/.github/ISSUE_TEMPLATE/question-report.md index 5aa48e78..1b0abd35 100644 --- a/.github/ISSUE_TEMPLATE/question-report.md +++ b/.github/ISSUE_TEMPLATE/question-report.md @@ -1,6 +1,6 @@ --- -name: "Question Report" -about: Usage question that isn't answered in docs or discussion +name: "问题支持" +about: 文档或讨论中未回答的使用问题 --- ## Question Report diff --git a/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/springboot/starter/refresher/NacosRefresherHandler.java b/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/springboot/starter/refresher/NacosRefresherHandler.java index edae7da4..100708c0 100644 --- a/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/springboot/starter/refresher/NacosRefresherHandler.java +++ b/hippo4j-spring-boot/hippo4j-core-spring-boot-starter/src/main/java/cn/hippo4j/core/springboot/starter/refresher/NacosRefresherHandler.java @@ -17,8 +17,8 @@ package cn.hippo4j.core.springboot.starter.refresher; -import cn.hippo4j.common.config.ApplicationContextHolder; import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties; +import com.alibaba.nacos.api.annotation.NacosInjected; import com.alibaba.nacos.api.config.ConfigService; import com.alibaba.nacos.api.config.listener.Listener; import lombok.extern.slf4j.Slf4j; @@ -35,11 +35,11 @@ import java.util.concurrent.Executor; @Slf4j public class NacosRefresherHandler extends AbstractCoreThreadPoolDynamicRefresh { - private final ConfigService configService; + @NacosInjected + private ConfigService configService; public NacosRefresherHandler(BootstrapCoreProperties bootstrapCoreProperties) { super(bootstrapCoreProperties); - configService = ApplicationContextHolder.getBean(ConfigService.class); } @Override