fix:(更改扫描配置)
parent
399001f928
commit
e700ffc7e9
|
@ -0,0 +1,17 @@
|
|||
package com.muyu.common.nacos;
|
||||
|
||||
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.service.NacosServerService;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
@Configuration
|
||||
@ForestScan(basePackages = "com.bwie.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.service.NacosServerService
|
||||
com.muyu.common.nacos.NacosRemoteConfig
|
||||
|
|
Loading…
Reference in New Issue