master
parent
d536b42fd4
commit
dd19f178a7
|
@ -0,0 +1,27 @@
|
|||
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;
|
||||
|
||||
/**
|
||||
* @Author:liuxinyue
|
||||
* @Package:com.muyu.common.nacos
|
||||
* @Project:cloud-common-nacos-remote
|
||||
* @name:NacosRemoteConfig
|
||||
* @Date:2024/8/8 16:34 nacos远程调用启动类
|
||||
*/
|
||||
@Configuration
|
||||
@ForestScan(basePackages = "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.service.NacosServerService
|
||||
com.muyu.common.nacos.NacosRemoteConfig
|
||||
|
|
Loading…
Reference in New Issue