Modify GitHub issue submission template

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

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

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

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

@ -17,8 +17,8 @@
package cn.hippo4j.core.springboot.starter.refresher; package cn.hippo4j.core.springboot.starter.refresher;
import cn.hippo4j.common.config.ApplicationContextHolder;
import cn.hippo4j.core.springboot.starter.config.BootstrapCoreProperties; 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.ConfigService;
import com.alibaba.nacos.api.config.listener.Listener; import com.alibaba.nacos.api.config.listener.Listener;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@ -35,11 +35,11 @@ import java.util.concurrent.Executor;
@Slf4j @Slf4j
public class NacosRefresherHandler extends AbstractCoreThreadPoolDynamicRefresh { public class NacosRefresherHandler extends AbstractCoreThreadPoolDynamicRefresh {
private final ConfigService configService; @NacosInjected
private ConfigService configService;
public NacosRefresherHandler(BootstrapCoreProperties bootstrapCoreProperties) { public NacosRefresherHandler(BootstrapCoreProperties bootstrapCoreProperties) {
super(bootstrapCoreProperties); super(bootstrapCoreProperties);
configService = ApplicationContextHolder.getBean(ConfigService.class);
} }
@Override @Override

Loading…
Cancel
Save