fix:(更改扫描配置)
parent
e700ffc7e9
commit
c653ddf102
|
@ -1,17 +1,16 @@
|
||||||
package com.muyu.common.nacos;
|
package com.muyu.common.nacos;
|
||||||
|
|
||||||
import com.dtflys.forest.springboot.annotation.ForestScan;
|
import com.dtflys.forest.springboot.annotation.ForestScan;
|
||||||
import com.muyu.common.nacos.remote.NacosServiceReomte;
|
|
||||||
import com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor;
|
import com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor;
|
||||||
import com.muyu.common.nacos.service.NacosServerService;
|
import com.muyu.common.nacos.service.NacosServerService;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.Import;
|
import org.springframework.context.annotation.Import;
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ForestScan(basePackages = "com.bwie.nacos.remote")
|
@ForestScan(basePackages = "com.muyu.common.nacos.remote")
|
||||||
@Import(value = {
|
@Import(value = {
|
||||||
NacosNamespaceInterceptor.class,
|
NacosNamespaceInterceptor.class,
|
||||||
NacosServerService.class,
|
NacosServerService.class
|
||||||
})
|
})
|
||||||
public class NacosRemoteConfig {
|
public class NacosRemoteConfig {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue