Modify GitHub issue submission template

pull/277/head
chen.ma 2 years ago
parent 6c527abb8f
commit 5aa4de5e54

@ -1,6 +1,6 @@
---
name: "Bug Report"
about: Something isn't working as expected
name: "BUG 报告"
about: 提交问题缺陷帮助我们更好的改进
---
## Bug Report

@ -1,6 +1,6 @@
---
name: "Feature Request"
about: I have a suggestion
name: "需求建议"
about: 提出针对本项目的想法和建议
---
## Feature Request

@ -1,6 +1,6 @@
---
name: "Question Report"
about: Usage question that isn't answered in docs or discussion
name: "问题支持"
about: 文档或讨论中未回答的使用问题
---
## Question Report

@ -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

Loading…
Cancel
Save