master
parent
d1059a3c88
commit
6a2a5e6c75
|
@ -0,0 +1,18 @@
|
||||||
|
package com.muyu.common.nacos;
|
||||||
|
|
||||||
|
import com.dtflys.forest.springboot.annotation.ForestScan;
|
||||||
|
import com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor;
|
||||||
|
import com.muyu.common.nacos.service.NacosServerService;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.springframework.context.annotation.Import;
|
||||||
|
|
||||||
|
@Configuration
|
||||||
|
@ForestScan("com.muyu.common.nacos.remote")
|
||||||
|
@Import(value = {
|
||||||
|
NacosNamespaceInterceptor.class,
|
||||||
|
NacosServerService.class
|
||||||
|
})
|
||||||
|
public class NacosRemoteConfig {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -1,2 +1 @@
|
||||||
com.muyu.common.nacos.remote.interceptor.NacosNamespaceInterceptor
|
com.muyu.common.nacos.NacosRemoteConfig
|
||||||
com.muyu.common.nacos.service.NacosServerService
|
|
||||||
|
|
Loading…
Reference in New Issue