Commit 2617307d authored by yanzg's avatar yanzg

修复等待时间

parent 55fc25d4
...@@ -25,12 +25,12 @@ public class LogBase implements ThreadNext.Next, InitializingBean { ...@@ -25,12 +25,12 @@ public class LogBase implements ThreadNext.Next, InitializingBean {
private final CloudConfig cloudConfig; private final CloudConfig cloudConfig;
private final LogFeignBase logFeign; private final LogFeignBase logFeign;
public LogBase(CloudConfig cloudConfig, LogFeignBase logFeignBase, Optional<LogFeign> logFeign) { public LogBase(CloudConfig cloudConfig, LogFeignDefault logFeignDefault, Optional<LogFeign> logFeign) {
this.cloudConfig = cloudConfig; this.cloudConfig = cloudConfig;
if (logFeign.isPresent()) { if (logFeign.isPresent()) {
this.logFeign = logFeign.get(); this.logFeign = logFeign.get();
} else { } else {
this.logFeign = logFeignBase; this.logFeign = logFeignDefault;
System.err.println("请添加处理日志服务,实现LogFeign接口!"); System.err.println("请添加处理日志服务,实现LogFeign接口!");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment